TAL Programmer's Guide
IF Statement
Controlling Program Flow
096254 Tandem Computers Incorporated 12–3
IF Statement Execution The IF-THEN form executes as shown in Figure 12-1.
Figure 12-1. IF-THEN Execution
IF
FALSE
; next-statement
404
condition
TRUE
THEN statement
The IF-THEN-ELSE form executes as shown in Figure 12-2.
Figure 12-2. IF-THEN-ELSE Execution
IF
; next-statement
FALSE
ELSE statement
405
condition
TRUE
THEN statement