Using Nested IF Commands: Example 2
In this example, nested IF commands are used to determine whether
the program should run a REPRO command or a PRINT command.
IF LASTCC > 4 -
THEN IF MAXCC < 12 -
THEN REPRO ...
ELSE
ELSE IF LASTCC = 4 -
THEN PRINT ...
If LASTCC is greater than 4, and MAXCC is 12 or greater, no functional commands are run. Use the null ELSE command to indicate that the next ELSE is to correspond to the first THEN.