Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE and #INCLUDE
Message
From
26/05/1999 11:21:14
 
 
To
26/05/1999 11:12:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00222951
Message ID:
00222961
Views:
23
>I have a .h file that creates all of the Word8 VBA constants using #DEFINE. I also have many methods in a custom class that attempt to use one or more of these constants. Do I have to #INCLUDE the .h file in every method that uses these constants? Or is there a way to make these constant definitions "public"?


Alan,

you only have to include the file at the class level. Modify the class then from the menu select the include file option. Unfortunately, this has to be done for all classes.

Mace
Previous
Reply
Map
View

Click here to load this message in the networking platform