Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App or prg
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00663668
Message ID:
00663773
Views:
13
If your real goal is to distinguish when someone's using the runtime vs running in development, you can use version(2). If it returns 0, it's the runtime.

>Hi all:
>
>My client uses an .APP file that I have compiled from a PRG file. I do my testing on the PRG file.
>
>How do I code the following?:
>
>IF this is an APP file &&being used by the client
> QUIT
>ELSE &&testing, I don't want to be thrown out of VFP
> RETURN
>ENDIF
>
>Thanks for the help,
>
>Yossi
Previous
Reply
Map
View

Click here to load this message in the networking platform