IsDefined MACRO symbol
(Macro Function)
Determines if a symbol has been defined.
This is a macro function so the parameter must be
enclosed in parentheses.
(Required for Chapter 10 example, page
367-368)
Parameters:
( symbol ) - An identifier.
Returns:
-1 if a symbol has been defined, or else return
0.
Example:
IF IsDefined( RealMode ) mov ax,@data mov ds,ax mov es,ax ENDIFIf identifier RealMode has not been defined, no code is generated.
mov ax,@data mov ds,ax mov es,ax
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |