Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
IF block syntax
◄Directive Summary► ◄Summary► ◄Example►
──────────────────────────────────────────────────────────────────────────────
Syntax: IFcondition
ifstatements
[ELSEIFcondition
elseifstatements]
.
.
.
[ELSE
elsestatements]
ENDIF
IFcondition may be any directive beginning with the letters "IF."
There is a corresponding ELSEIF directive for each IF directive.
The ifstatements, elseifstatements, and elsestatements are each a
series of one or more assembly-code statements. The respective
conditions determine which block is assembled, if any. The ELSE and
ELSEIF blocks are optional.
See Also: IF, IFE, IF1, IFB, IFDEF, IFDIF
-♦-