>If I undef a constant, will it stay globally or just in the routine where I want it to be undefined?
>
>>You can use #undef to stop the substitution for the constant
>>
Just like the #define, the effect should last until the end of the procedure - or until you use another #define for the same constant, whichever comes first. In the case of a visual form or class, until the end of the method.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)