IF THEN ELSE allows conditional assignments to be made, depending on the value of a boolean expression.
Both expression 1 and expression 2 are always evaluated. For this reason, you should take care when including functions such as read_tail() or next_char() in an expression, or any function which produces a side effect.
| Syntax: | IF expression THEN (expression1) ELSE (expression 2) |
| Return Value: | NCDTY value_to_assign |
| Description: | IF THEN ELSE allows different assignments to be made, depending on the value of a boolean expression |
| Example: | IF 109 THEN 25 ELSE 5 = 25 |