Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Line Values
Message
From
16/12/2002 12:01:59
 
 
To
15/12/2002 22:36:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733213
Message ID:
00733316
Views:
20
>Hi,
>
>Is it possible to pass a value to an vfp exe as a command line value?
>
>e.g. 'MyProg.exe -training' or something like this.
>
>Thank you in advance for your help.
>
>Regards,
>Mike Mayo

To add onto Sergey's reply, additional parameters that are declared in your .PRG, but not actually passed as arguements, are not character strings. They would be a logical .F. value. In either case, you can use IF NOT EMPTY(tcParam3) etc., to see if it was passed or not.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform