Try OpenEdge Now
skip to main content
ABL Reference
ABL Syntax Reference : &UNDEFINE preprocessor directive
 

&UNDEFINE preprocessor directive

Undefines a compile-time constant (preprocessor name).

Syntax

&UNDEFINE preprocessor-name
preprocessor-name
The preprocessor name (compile-time constant) that you want to undefine.

Notes

*When you use the &UNDEFINE directive, ABL warns you if the name you want to undefine was not previously defined.
*The &UNDEFINE directive undefines the currently active name. It also undefines named include file arguments.
*To globally define the same name more than once, use this directive to undefine the name before redefining it. If you do not undefine the global name before redefining it, the compiler produces a warning message for non-globally (scoped) defined names. For globally defined names, &UNDEFINE is optional, but recommended for code readability. If &UNDEFINE is not used, the last &GLOBAL-DEFINE statement is used.

See also

&GLOBAL-DEFINE preprocessordirective, &SCOPED-DEFINE preprocessordirective, DEFINED preprocessor function