Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How not to use value in .h file
Message
From
08/07/2010 12:29:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01471862
Message ID:
01471876
Views:
57
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform