Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#define isn't
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00959749
Message ID:
00960713
Views:
9
Hi,

>I think VFP has problems with #define the same variable name multiple times.

Not sure about this. Although the documentation states "You can redefine a #DEFINE only if you do not change the value. If you change the #DEFINE to a different value, Visual FoxPro generates an error." in practice this doesn't seem to happen. The value of the first #DEFINE encountered seems to be the one that is used ?

Regards,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform