Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best approach about #DEFINE constants
Message
 
 
To
16/05/2008 09:59:52
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01316940
Message ID:
01317622
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform