Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visibility of defined constants
Message
 
To
13/12/2006 14:11:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01177331
Message ID:
01177430
Views:
11
Your understanding is mistaken. #DEFINE is a compiler directive (also known as a manifest constant), that is it tells the compile to replace the constant with the value BEFORE compiling the code. These are scoped only to the program they are in and to no others. You must include the #INCLUDE line in every PRG and also add it to forms and class libraries using the Form or Class menu option while editing the form or class.
Previous
Reply
Map
View

Click here to load this message in the networking platform