Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the meaning of T in parameter variable?
Message
From
28/04/2006 15:47:11
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01117544
Message ID:
01117653
Views:
24
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform