Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Development only commands
Message
 
To
17/01/1997 12:30:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017698
Message ID:
00017707
Views:
58
>Somewhere I read about a command you could use to specify a command line for development execution only. Then when running an EXE it would be skipped. Something like...
>
>if xxxxxxxx = .T.
> your command here
>endif
>
>Also I am running VFP 3.0

I do similar by having DEBUG.TXT in my project directory.

IF file("debug.txt")
do something...
ENDIF

In this case your .EXE should not be able to find DEBUG.TXT somewhere in your PATH , of course.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform