IF ELSE and ENDIF
This command will allow your program to perform two different sequences of commands based on the result of a condition. If the condition is true, the commands immediately following the IF command are performed. If the condition is false, the commands immediately following the ELSE command are performed. You must always use an ENDIF to mark the end of the ELSE command sequence.

SYNTAX
IF Condition
Command Go Here for condition True
ELSE
Command Go Here for condition False
ENDIF

RELATED INFO
Basic Commands
Glossary

EXAMPLE
IF THEN Commands