Assembly Language Help (alang.hlp) (
Table of Contents;
Topic list)
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.
IFB/IFNB/ELSEIFB/ELSEIFNB Directives
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Syntax: [ELSE]IFB expression
[ELSE]IFNB expression
See also: Conditional Assembly Directives, Relational Operators,
.ERRB, .ERRNB, MACRO
Description:
IFB causes assembly of a block of statements if <expression> is
blank. IFNB causes assembly of a block of statements if <expression>
is not blank. The <expression> field is any name, number, or
expression; typically, it is the name of a parameter of a macro.
See: ◄IF Block Syntax►
Within a macro, a parameter name is replaced by an empty string if
you call the macro without giving a corresponding argument. IFB
and IFNB let you define default behavior when an argument is
missing, but the :REQ and :=default MACRO parameters are preferred.
-♦-