Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command Line Parameter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00645094
Message ID:
00645100
Vues:
23
This message has been marked as the solution to the initial question of the thread.
>Hi folks!
>
>I was asked here at work to see if I could add a Command Line Parameter to be passed over to my VFP 6.0 app (example - pass over how many records for the app to leave after deleting the rest.)
>
>I am probably overlooking the obvious...
>
>Any ideas appreciated.
>
>Thanks!
>
>Tommy

You can add LAPRAMETERS to the main program to accept command line parameters.
* Main programm
LAPRAMETERS tcParam1, tcParam2
...

* command line

c:\mydir\myapp.exe 12345 abcd
Remember, that all parameters are passed in the EXE as strings. If you pass more than one parameter, you've to separate them with spaces.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform