Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command line parameter
Message
From
23/02/2004 18:36:52
 
 
To
23/02/2004 18:27:03
Jim Foderaro
Insurance Rating Systems, Inc.
Universal City, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00880111
Message ID:
00880115
Views:
14
>Does anyone know if there is a way to pass a command line parameter to a visual foxpro program compiled as a stand alone exe? I would like to pass the name of a control file on the command line. Thanks!

Just add an LPARAMETERS statement to your main program, along with however many parameters you think you might need. Note that all parameters are passed to an .EXE as character strings.

Addendum: also note that parameters that are NOT passed will be logical .F.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform