Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>PUBLIC oldproduct, oldrinward, sale2edit, sale2add, zuretval, oareacode, oareaname, osmancode, osmanname, oaccode, oacname, ocompcode
>>Dont use Public!
>>And if you cannot avoid
>>than dont use them
>
>
>There is NOTHING wrong with using PUBLIC, Koen. There are probably better ways to code than using PUBLIC, but it is perfectly legal and will work correctly, and in some cases is the only way to accomplish something.
Rick,
technically speaking you are hundred percent correct.
But I still donot prefer to make use of public variables, one day it will show, especialy with inherreted applications from meanwhile not to be adressed programmer, you will end up with an error.
To refrain from public variables is just a matter of programming.
Like formsets, mDot, local declarations, CamelCase a.s.o. Public's are a showstopper for me.
Regards,
Koen
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement