Name
ELSEIF -- test for another condition (V7.0)
Synopsis
@ELSEIF val
Function
This preprocessor command tests for the condition specified in val. If it is True, the preprocessor will continue parsing your script. If val is False, however, @ELSEIF will branch to the next @ELSEIF, @ELSE, or @ENDIF statement. Note that the condition must be a constant expression since @ELSEIF operates at preprocessor level, i.e. script variables are not available at that time.

See IF for details and an example.

Inputs
val
condition to test; must be a constant expression
Example
See IF


Show TOC