Format: ENDIF Template: (none) Location: Internal
ENDIF must be used when an IF command is used. ENDIF is used in scripts at the end of an IF block. if the IF condition is not true or if the true-condition commands are executed and an ELSE is encountered, the execution of the scripts skips to the next ENDIF command. Every IF statement must be terminated by an ENDIF.
The ENDIF apploed to the most recent IF or ELSE command.