Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE and #INCLUDE
Message
From
26/05/1999 11:16:56
 
 
To
26/05/1999 11:12:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00222951
Message ID:
00222956
Views:
20
>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,

From the CLASS menu option, select INCLUDE FILE and pick it from the ... button. This will include it for the class as a whole and make it available to all methods.
regards

Ian
Previous
Reply
Map
View

Click here to load this message in the networking platform