Command Reference : Programming Language Reference
  
 
if
IF statement in a program.
The if statement marks the beginning of a condition and commands to be executed if the statement is true. The statement must be terminated with the beginning of an ELSE clause, or an endif.
Syntax
if [condition] then
[commands if condition true]
endif
Cross-references
See “IF Statements”. See also else, endif, then.