Using Conditional Instructions
About this task
There are two types of conditional instructions:
IF…THEN…ELSE can direct the execution of
a program
to one of two choices.
SELECT WHEN…OTHERWISE…END can direct the execution to one of many choices.
IF…THEN…ELSE Instructions
Nested IF…THEN…ELSE Instructions
SELECT WHEN…OTHERWISE…END Instruction
Parent topic:
Controlling the Flow within a program