- Name:
-
endif
- Syntax:
-
IF condition THEN
{code}
ELSEIF condition THEN
{code}
ELSE
{code}
ENDIF
Condition - The condition which will cause the associated code commands to be executed or not.
Code - Command statements which will be executed dependant upon the evaluation of the condition.
- Description:
-
The endif command is used to terminate a multiple line if command. The command can either be specified as a single word, 'endif' or as two separate words, 'end if'.
For more detailed information and further examples, please see the if command page.