Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unlimited number of parameters
Message
From
26/01/2005 18:14:43
 
 
To
26/01/2005 18:12:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00981000
Message ID:
00981010
Views:
56
>>I don't know of any other way in VFP. All command line parameters to VFP will be passed as character, so you could use a naming convention and "build" your parameter name in a loop to check for the first one that contains a logical .F. for it's value. The one before that (eg: the last one that's of type character) is the last actual passed parameter.
>
>Yes, but I do have to put about 20 parameters there as a buffer to be safe. I thought we would have something better by now.

Yes, it is a shame we don't get an array of parameters, like most other command line interface programs get.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform