Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the meaning of T in parameter variable?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01117544
Message ID:
01117567
Vues:
21
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform