Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unlimited number of parameters
Message
 
À
27/01/2005 15:48:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00981000
Message ID:
00981473
Vues:
65
>>Another idea would be to launch the exe with only one parameter, which it would be a comma separated list of parameters, then in your main prg you only need one receiving parameter and some code to parse it, something like:
>
>That's what I have but additional to all those parameters framed within one parameter, I also have use to a bunch of /something parameters such as /GUI, /Log, etc. So, those are optional and can be from zero to 8 parameters.

I think I miss something here, for I do not see why would that be a problem.
MyExe "SomeParameter,Another,/GUI,/Log,OneLastParameter"
Then parsing that list you'll have the /GUI and /Log parameters as well. But, I am sure I am missing something, I have a terrible headache right now :(
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform