> lang > if | ![]() |
Previous Next Edit Rename Undo Refresh Search Administration
| Documentation |
|
IF Expression [ { AND IF | OR IF } Expression ... ] [ THEN ]
...
[ ELSE IF Expression [ { AND IF | OR IF } Expression ... ] [ THEN ]
... ]
[ ELSE
... ]
ENDIF
IF Expression [ { AND IF | OR IF } Expression ... ] THEN ...
Conditional control structure.
When you use several test expressions splitted by AND IF keywords, then they are evaluated from left to right until the first FALSE one is found, and then the test is FALSE. If all expressions are TRUE, then the test is TRUE.
When you use several test expressions splitted by OR IF keywords, then they are evaluated from left to right until the first TRUE one is found, and then the test is TRUE. If all expressions are FALSE, then the test is FALSE.