.UNDEFINE
Remove definition of replacement identifier
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
.UNDEFINE identifier
Arguments
identifier
The replacement identifier to be removed.
Discussion
The .UNDEFINE compilation control directive removes the definition of a replacement identifier.
If identifier is not defined in a prior .DEFINE directive line, the compiler generates an “Identifier not defined” warning (NOTDEF). You can suppress this warning by specifying the .DEFINE warning compiler option. See Compiling a traditional Synergy routine for more information about this compiler option.
Examples
.define DEBUG ;This directive defines DEBUG in . ; the symbol table. . . .ifdef DEBUG ;The following code will be compiled . ; because DEBUG is defined. . . .endc .undefine DEBUG ;This directive removes DEBUG . ; from the symbol table. . . .ifdef DEBUG ;The following code won't be compiled . ; because DEBUG is no longer defined. . . .endc .undefine DEBUG ;This directive generates a compiler warning ; because DEBUG is not defined.