Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming conventions for custom methods?
Message
De
16/11/2008 23:12:00
 
 
À
16/11/2008 23:07:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01362229
Message ID:
01362231
Vues:
21
>Matt -- Did I miss something here? I don't see a question.

The quesion should have ended in a '?', but didn't sorry.. Here is the Q:
Now then, is it also common to use those same prefixes when naming custom Methods that return known types?
>
>>I follow the common practice of use type prefixes when naming custom Properties in classes and forms like this:
>>
>>
>>lAddMode
>>cName
>>oTextBox
>>nSomeValue
>>etc.
>>
>>
>>Now then, is it also common to use those same prefixes when naming custom Methods that return known types.
>>
>>for instance:
>>
>>
>>lUsesVCR()
>> return Vartype(this.oPageFrame)='O'
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform