endif

Syntax

endif

Description

This command will allow your program to perform a 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, all commands before the endif command are skipped.

Example

a = 1

if a = 0 print ( "a is 0" ) endif
if a = 1 print ( "a is 1" ) endif