Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best approach about #DEFINE constants
Message
 
 
À
16/05/2008 09:59:52
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01316940
Message ID:
01317622
Vues:
9
>Not at all. I said leaving the properties on such a public object public is no better than public variables.

In other words, in order to use constants in the application you would have to do something like

PI = oGlobal.GetPI()
...

Sounds inconvenient to me.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform