Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
 
À
08/07/1998 11:03:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115995
Vues:
16
>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.

If the method returns a value, don't you have to use parenthesis?
----------
Mark Bucciarelli
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform