Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbfname.fieldname equals classname.propertyName
Message
From
22/07/1998 09:41:03
 
 
To
22/07/1998 01:34:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00120028
Message ID:
00120132
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform