if (<condition>) <command_block>
Execute a command or block of commands on the successful value of a condition.
<condition>
A conditional phrase yielding a boolean value.
<command_block>
One command or a block of commands to be executed if <condition>
is true.
None
Any non-zero numeric or point, or any non-null string is considered true when evaluating <condition>.
This command may be tied to an else statement which will be executed if <condition> is false.
Execute one command.
if (x = 5) !Correct
Execute a command block.
if (x = 5) {
numeric y = 20
!Have set Y to 20
}
|
Commands: |
|
|
Identifiers: |
cond_precision (numeric) |