Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbfname.fieldname equals classname.propertyName
Message
De
22/07/1998 09:41:03
 
 
À
22/07/1998 01:34:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00120028
Message ID:
00120132
Vues:
18
Hi Gene,
It's not a good idea to use reserved words as names of tables, fields, classes, etc. I think Nigel's idea of using an alias would work, but I suggest you rename the table and the class. Also, as you can see, you may have conflicts if you give the same name to a table and a class.
Naming standards for variables would help here. For example, one standard suggests using 'go' or 'o' as a prefix for names of variables that are object references. So your class "Log" would become "oLog" or "goLog" or something like that.
Hope this helps,
Regards, Chaim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform