Remove definition of replacement identifier

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
.UNDEFINE identifier



The replacement identifier to be removed.


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.


.define DEBUG                   ;This directive defines DEBUG in
    . ; the symbol table.
.ifdef DEBUG                    ;The following code will be compiled
    . ; because DEBUG is defined.
.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.
.undefine DEBUG                 ;This directive generates a compiler warning
                                ; because DEBUG is not defined.