[AmigaOS 3.1 Command Reference\EndIF]
Purpose: To terminate an IF block in a script file.
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 were executed and an ELSE has
been encountered, the execution of the script will skip to the next ENDIF
command. Every IF statement must be terminated by an ENDIF.
The ENDIF applies to the most recent IF or ELSE command.
Converted from AmigaGuide to HTML by Jaruzel