Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a parameter to main()
Message
From
20/01/2003 10:27:24
 
 
To
20/01/2003 09:07:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00741082
Message ID:
00743468
Views:
24
I think you should use " instead of ' at the command line, or in the RUN command box.

Build a .EXE from a simple program:

LPARAMATERS tuP1, tuP2, tuP3
? tuP1, tuP2, tuP3
WAIT WINDOW "OK?"


Then run X.exe "test 1 2 3"

It prints "test 1 2 3 .F. .F." to the screen.
parameter 1 is the whole string, parameters 2 and 3 are undefined.
Previous
Reply
Map
View

Click here to load this message in the networking platform