Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding Standards
Message
 
To
08/07/1998 10:52:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115272
Message ID:
00115293
Views:
17
>Hiya George and Menachem ---
>
>My .02....
>
>I used mixed-case for variables, objects, properties, events or method calls. The exception to this is the Hungarian notation part of the var or obj name, for example:
>
>cboMyComboBox
>
>I use upper-case for all VFP keywords (cmds, funcs) and constants (VFP or #DEFINE const). Also all THIS or THISFORM.
>
>I use lower-case for all pathnames, fields, tables
>
>I also use Tab but only 3-spaces and not the VFP default of 4.
>
>And I also use "The Hacker's Guide" convention of putting parenthesis at the end of event calls, i.e. THISFORM.LostFocus() but not method calls.

Whoops, yeah, defined constants all upper. Don't add the parenthesis, however. Holdover, from Pascal and QB. Objects and events in mixed case, too.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform