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 09:14:35
 
 
À
22/10/2015 07:11:15
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:
01626335
Vues:
69
>In this particular case it's not practical as it is an old very long and complex code that is eventually being re-written into .NET dll.
>
>So what is the big deal? You pass a parameter object instead and at the top of the method, right after the LPARAMETERS startement, you unpack the properties of the object into the same variables that used to be passed. No other changes required...


I'd probably switch over to using the properties of the parameter object : inserting loPara. is probably faster in dev and run time, esp. if [tlp] prefixes for scope are used.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform