10-8 Programming
THEN (PRGM CTL, item 2) following an IF executes a group of
commands if the condition is true (nonzero).
END (PRGM CTL, item 5) identifies the end of the group.
:IF condition
:THEN
:command if true
:...
:END
:command
ELSE (PRGM CTL, item 3) following IF-THEN executes a
group of commands if the condition is false (zero).
END (PRGM CTL, item 5) identifies the end of the group.
:IF condition
:THEN
:command if true
:...
:ELSE
:command if false
:...
:END
:command
IF-THEN
END
IF-THEN-ELSE
END