This command will allow your program to perform a sequences of commands based on the result of a condition.
This command does not return a value.
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.
IF A=0 PRINT "a is zero" ELSE PRINT "a is not zero" ENDIF WAIT KEY