Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unlimited number of parameters
Message
De
26/01/2005 18:14:43
 
 
À
26/01/2005 18:12:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00981000
Message ID:
00981010
Vues:
54
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform