else

Syntax

else

Description

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 command sequence.

Example

if a = 0
    print ( "a is 0" )
else
    print ( "a is not 0" )
endif