Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximum number of parameters in a method of a class
Message
De
22/10/2015 06:34:07
 
 
À
21/10/2015 18:19:32
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01626276
Message ID:
01626314
Vues:
40
>>Refactor and use a parameter object.
>>
>>>Hi everybody,
>>>
>>>According to Visual FoxPro maximum capacity info I found online the maximum number of parameters per function is 26. However, I made an experiment and was able to pass 27 parameters (I got compile error trying to add 28th parameter).
>>>
>>>Would it be save to use a method in a class in a highly transactional application with 27 parameters? The method already uses 26 parameters and I have a need to add one more.
>>>
>>>Thanks in advance.
>I agree... whoever developed that should be shot...

Dunno... perhaps drastic public flogging might enhance code quality in the long run more?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform