Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the meaning of T in parameter variable?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01117544
Message ID:
01117567
Views:
22
>>>I have been meaning to ask this question for a while. Many times I see that people use prefix "t" when identifying parameter variables. For example:
>>>
>>>
>>>LPARAMETERS tnMyNumber, tlMyLogicalVar, lcMyCharacter
>>>
>>>
>>>What does the "t" stand for?
>>
>>Interesting question. I know that t indicates parameter. I'm not sure it has a special meaning (hopefully I'm wrong), it's more like a commonly accepted convention.
>
>
>My guess is that T was a letter not identifying any data type (before VFPT came up with type datetime) so they used it in order to differentiate it from a data type. But I maybe mistaken too.

You're correct. P was already taken (private), and the next "strong" consonant was T. yag explained this in the first Codebook, IIRC.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform