Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OOP aware DoForm function suggestions
Message
De
04/01/2009 10:58:46
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Application:
Desktop
Divers
Thread ID:
01370806
Message ID:
01370887
Vues:
15
>Instead of passing multiple parameters we may want to always pass just one parameter object.

That's one of the reasons the team made the empty class and AddProperty() function - so
oParam=createobject("empty")
addproperty(oParam, "prop1", value1)
addproperty(oParam, "prop2", value2)
...
addproperty(oParam, "propN", valueN)
anycode(oParam)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform