Previous:Identifier Name Collisions   Main Index   Next:File I/O Directives



Destroying Identifiers with #undef

Identifiers created with #declare will generally persist until parsing is complete. Identifiers created with #local will persist until the end of the macro or include file in which they were created. You may however un-define an identifier using the #undef directive. For example:

 #undef MyValue

If multiple local nested versions of the identifier exist, the most local most recent version is deleted and any identically named identifiers which were created at higher levels will still exist.

See also "The #ifdef and #ifndef Directives".



Previous:Identifier Name Collisions   Main Index   Next:File I/O Directives