Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming Conventions
Message
From
05/11/2003 15:16:31
 
 
To
05/11/2003 14:24:46
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00846723
Message ID:
00846754
Views:
19
>Out director has said that we must find another way to name our variables as he finds it difficult to read. Currently we use lcMyVariable to denote a local, character variable. He would like to use MyVariable_lc instead. We were also considering lc_MyVariable and one person thought that MyVariableLC was reasonable. Any thoughts? And if this has been covered already then just point the way please. I still would like to know what others think just about this specific example though. Thanks!
>
>Regards, Renoir

I think what you are doing is fine. We have coding standards here about the first three chars for a var.
The first one is the scope
The second one is the type
The third always being a underscore.
Then the description of the variable.

So we would code the var being lc_MyVariable or lc_myvariable. I personally like the first one and thats how I code. Other developers here make the varaible all lowercase.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Reply
Map
View

Click here to load this message in the networking platform