Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a parameter to main()
Message
De
20/01/2003 10:27:24
 
 
À
20/01/2003 09:07:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00741082
Message ID:
00743468
Vues:
25
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform