Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The mystery of #DEFINE
Message
From
18/10/2012 13:44:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
The mystery of #DEFINE
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01555265
Message ID:
01555265
Views:
114
Hi friends:

I've been using constants for many things. But just a few. Every time I needed one I had to include "#INCLUDE DEFINITION.CH" in the method I had to use it...

Now I pasted code in a few methods (form init for example) with constants and although form class has include file constants are not recognized.

I know if I add "#include" in every method it will work but there must be a way for believe what VFP help says is true...

Perhaps I must say I use class designer, not code.

Thank you.

Héctor
Next
Reply
Map
View

Click here to load this message in the networking platform