Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE and #INCLUDE
Message
 
To
03/12/2001 15:49:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588908
Message ID:
00588916
Views:
19
You have to recompile the code that uses the .h file for it to see the changes.

Just open the method that uses the #DEFINE and change something, I ususally just add a period to a comment. Rerun the form and the method will get recompiled with the updated .h

hth

>In the HACKER’S GUIDE it suggests the following:
>
>One very neat thing is that a file that's #INCLUDEd can have any or all of the preprocessor directive statements within it, and these, too, are processed by the preprocessor. Our suggestion: Break constant files into bite-sized chunks and create a STANDARD.H file that #INCLUDEs them all.
>
>In the form’s FORM|INCLUDE FILE… I have my Standard.H file which is:
>
#INCLUDE IMAGES2WEB.H
>#INCLUDE FOXPRO.H
>
>My problem is that I make a change in the Images2Web.H file and run the form again (in development) and the changes made in the H file don’t take effect. Is there something obvious that I am doing wrong?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform