Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unlimited number of parameters
Message
 
To
27/01/2005 15:48:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00981000
Message ID:
00981473
Views:
64
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform