Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiler directive only for dev time
Message
From
17/09/2014 09:35:20
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
17/09/2014 09:21:29
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01607627
Message ID:
01607724
Views:
54
>Hi Mike.
>Not the best approach but I think that this will help...
>
>#If File(Sys(2004) + "vfp9.exe")
> * Development mode
>#Elif
> * Run time
>#Endif

In order to compile vfp9.exe would be in place, right? I think you're close though. Have a file only on the dev machines and not on the machine used for compiling.

Thanks!!!! :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform