PS TEXT FORMAT Reference Manual
Introduction to TFORM
11387 Tandem Computers Incorporated 3–55
IF An IF construct allows you to do conditional operations and formatting.
You build an IF construct with the following options
IF a condition is true, do something.
ORIF the first condition is false and another is true, do something else.
ELSE if none of the above are true, do something else entirely.
Finally, an ENDIF terminates the construct.
What to Enter
\IF
exp
. . .
commands and/or text
. . .
[ \ORIF
exp
]
. . .
commands and/or text
. . .
[ \ELSE ]
. . .
commands and/or text
. . .
\ENDIF