Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
De
08/07/1998 10:52:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115286
Vues:
18
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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform