Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass param by reference or private variable?
Message
From
02/10/2019 02:06:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/10/2019 00:16:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01671293
Message ID:
01671314
Views:
67
>Because this is a really common functionality, I created a class with 10 standard properties (Value1 - Value10) and a property for Success. I use it everywhere:
>
>LOCAL loInfo AS Info OF Utils.vcx
>loInfo = NEWOBJECT("Info", "Utils.vcx")
>loInfo.Value1 = 123
>loInfo.Value2 = "Test"
>
>THIS.CalculateEtc(m.loInfo)

But now they don't have meaningful names. You have to remember their meanings for each case.

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