Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
De
08/07/1998 11:03:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115294
Vues:
17
Hi George --

>>
>>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.

I don't know if the reason for the parentheses have anything to do with being a holdover, it's just a convenient trick to visually distinguish between a method and event.
------------------------------------------------
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