| Syntax |
IFR logical.expression [THEN | ELSE] statement.block
IFR logical.expression THEN statement.block ELSE statement.block
|
| Category |
BASIC
|
| Type |
Statement
|
| Description |
tests the result of a logical expression. Each attribute of the first element of the expression is tested against the target. Depending on whether one of the attributes in the expression evaluates to either "true" or "false", the statement(s) following the "then" or "else" clauses respectively are executed.
See the "if" statement for more information on clause structures.
|
| Options |
|
| See Also |
statements & functions Boolean Evaluation THEN | ELSE statement.block NOT MATCH REWIND logical expressions NULL statement.block = ! $OPTIONS IF
|
| Example |
|
| Warnings |
This statement requires a non-default "$options" setting.
|
| Compatibility |
D3 7.0 R91
|