Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OOP aware DoForm function suggestions
Message
From
04/01/2009 10:58:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Application:
Desktop
Miscellaneous
Thread ID:
01370806
Message ID:
01370887
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform