Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quick simple question..
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00755668
Message ID:
00755673
Views:
8
Hi,

you can simply #define constants in a method or a prg or a header file and forget about the rest. Only if you want to give the constant another value, you should #undef before doing a #DEFINE again.

Armin

>When using #DEFINE to create a complie time constant do I have to or should I use #UNDEF before I exit the program/method/procedure?
>
>What would happend if I got lazy and didn't #UNDEF my constant?
>
>Einar

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform