Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The m. variable thing
Message
De
19/11/2004 02:55:03
Walter Meester
HoogkarspelPays-Bas
 
 
À
18/11/2004 14:56:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00962544
Message ID:
00962899
Vues:
8
Hi Fabio,

>
>? varCash
>
Whether or not to use m. is not a rule but a personal preference.
I've got other rules to make it clear whether it is a field or variable:

Variable:
Prefixed with a type character (eg: cString, nCount, lUsed, dDate)

Field:
Prefixed with three characters identifying the table (eg: prs_pk, Prs_firstname, prs_lastname)

IOW, In my programs there is no question whether we talk about a field or variable.

>
>correctness and formal precision
>
I've got trouble with this as there are quite a few arbitrary rules when to use or not to use m. Those who apply m. themselves have different rules where and when to apply them as wel. Some say it is not neccesary at a variable assignment while other say you must be consistent and apply them where you can. It does not make sense to me. I just don't use them unless neccesary for whatever reason.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform