ELSE

Abbreviation

None.

Arguments

None.

Default

None.

Description

The ELSE control is used to introduce an alternative program block after an IF or ELSEIF control. The ELSE block is only assembled if previous IF and ELSEIF conditions in the IF-ELSE-ENDIF construct were all FALSE. ELSE blocks are terminated with an ENDIF control.

NOTES

Only one ELSE block is allowed for each IF block.

You may not specify this control on the command line; however, you may use this control any number of times within the source file.

You may specify the ELSE control both with and without the preceding dollar sign ($).

See Also

IF, ELSEIF, ENDIF, RESET, SET

Example
.
.
.
$IF (DEBUG) ; TRUE when DEBUG <> 1
.
.
.
$ELSEIF (TEST)
.
.
.
$ELSE
.
.
.
$ENDIF
.
.
.