Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the meaning of T in parameter variable?
Message
De
28/04/2006 15:47:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01117544
Message ID:
01117653
Vues:
23
>>>I like this, "transient". This give the prefix a meaning and therefore makes it easier to "identify". Thank you.
>>>
>>>>My strong guess is that if "p" is for private, "l" for local, then "t" is for transient. As obviously, the data type seems to be indicated by the second letter (c, n, l, etc)
>>>>
>>
>>I saw another prefix that I like - but haven't developed a habit for it yet. R meaning passed parameter by reference!
>
>This is very logical. However, don't you find that there are only very few cases where you pass something by reference? Unless it is an array. At least in my code, I can think of very, very few cases of passing by reference.

I believe an object is always passed by reference. However, it's inside the function that knowing how the variable was passed would be useful, not at the time it is passed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform