Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many arguments - but only 23 parameters passed
Message
 
 
À
18/08/2004 09:31:48
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00930681
Message ID:
00934090
Vues:
29
Hi Mike,

Yes, I would agree with you. :)
Lately, I tend to create and pass object parameter based on 'Empty' class/object. This way, as you mentioned, there's no limit on the # of parameters that can be passed and adding new parameter is very easy. In addition, you can return multiple values, if you've to, and even provide extended error/exception info in the same object to the calling program.

>
>Would you agree there shouldn't be any need to worry about the limits in this thread? There really are only two parameters, lnMode and a data "record". The form of that record is the only question. It could be xml or something else. There are a maximum of 255 fields in a VFP record. It would be impossible to pass all of those individual fields as parameters.
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform