xHarbour Reference Documentation > Preprocessor Reference |
Voids a #define constant or pseudo-function.
#undef <Constant>
The #undef directive removes a symbolic name from the list of previously defined constants. The symbolic name becomes unavailable and can be redefined.
See also: | #define, #if, #ifdef, #ifndef |
Category: | Preprocessor directives |
// The example demonstrates a typical pattern for #ifdef, #undef and // #define directives. #ifdef DEBUG_LEVEL #undef DEBUG_LEVEL #define DEBUG_LEVEL 3 #endif
http://www.xHarbour.com