/ELSEIF Condition-Expression
/ELSEIF Condition-Expression
The /ELSEIF compiler directive is used to test a condition expression within an /IF or /ELSEIF group.
/ELSEIF must be followed by at least one space, and then the condition expression must be specified on the same line. Following the condition expression, the remainder of the line must be blank.
See Compiler Directives for information on the columns available for directives.
/ELSEIF can be specified in any free-form statement other than a free-form calculation statement. See Conditional Directives Within a Free-Form Statement.
If the previous /IF or /ELSEIF was not satisfied, and the condition expression is true, then source lines following the /ELSEIF directive are selected to be read. Otherwise, lines are excluded until the next /ELSEIF, /ELSE or /ENDIF in the same /IF group is encountered.