Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass param by reference or private variable?
Message
De
02/10/2019 02:06:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01671293
Message ID:
01671314
Vues:
66
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform