Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the DEFINE scope?
Message
From
04/07/2005 17:58:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
What's the DEFINE scope?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01028851
Message ID:
01028851
Views:
66
Hello,

I have a constants .h file.
And I need those constants to be avaible from every single object. Everywhere.

Yes, I've saw _INCLUDE, but it seems doesn't work as I've expected. COnstants are now recognized from iside the object.

So, I have :
a constants.h file
a cst class that's a custom subclass, and many other subclasses with many methods each.

I want to be able to use those constants there.

Do I need to type #Include in every method? What's the best solution?

Thanks in advance!
Pablo S.
Next
Reply
Map
View

Click here to load this message in the networking platform