Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version(2) check for Dev vs. Runtime
Message
From
19/12/2003 16:46:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00860714
Message ID:
00860865
Views:
18
> #DEFINE Version(2) 0
In the Fox versions I know this defines "VERSION" to the string "(2) 0", and a test like
if version(2) == 0
   * ...
will compile to
if (2) 0(2) == 0
   * ...
A more likely candidate for an evil hack would be
#define version  0*
I like the VMP way of handling this.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform