Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How determine is it running compiled exe file or not
Message
From
26/10/2005 09:36:43
 
 
To
26/10/2005 09:14:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01062144
Message ID:
01062202
Views:
18
Ok, then why does this work. Compiled in IDE, executed in an exe

A #defined constant is just a text substitution, there is no evaluation at compile time
#define RUNNING_IN_IDE !empty(Version(2))

?'ide',  RUNNING_IN_IDE
? [RUNNING_IN_IDE]
>Yes.
>
>#DEFINE is a precompiler directive and will only be evaluated at compile time.
>
>>Are you sure ?
>>
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform