| |||
| Home > Directives Reference > Reporting directives > INFO | |||
The INFO directive supports diagnostic generation
on either pass of the assembly.
! is very similar to INFO, but has less detailed
reporting.
INFOnumeric-expression, string-expression
where:
numeric-expressionis a numeric expression that is evaluated during assembly. If the expression evaluates to zero:
no action is taken during pass one
is
printed during pass two.string-expression
If the expression does not evaluate to zero, is
printed as an error message and the assembly fails.string-expression
string-expressionis an expression that evaluates to a string.
INFO provides a flexible means of creating custom
error messages. See Numeric expressions and String expressions for additional information
on numeric and string expressions.
See also ASSERT.