Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
 
À
08/07/1998 10:52:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115293
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform