Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scope of header file
Message
 
To
30/12/2002 08:24:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00736219
Message ID:
00737607
Views:
16
Thanks, Hilmar. This is good advice. I am not a novice to VFP, but I haven't used the #INCLUDE directive. I can see a need for it in the future, though.

Dana

>Dana,
>
>To simplify maintenance, I suggest you have one single global include file. Let's say you call it DANA.H, or, more likely, the company name, or perhaps something like STANDARD.H.
>
>This file can then reference several other include files:
>
>
>#INCLUDE ExcelConstants.h
>#INCLUDE WordConstants.h
>#INCLUDE StandardMessages.h
>etc.
>
>
>You include your main include file (DANA.H) into each and every program, form, and class. You can later add additional include files to your main include file - this will affect all files that reference it (after recompiling).
>
>BTW, forms and classes only allow a single include file anyway (specified with "Form | Include", or "Class | Include").
>
>Hilmar.
Where's the damned Any Key?...too late
Previous
Reply
Map
View

Click here to load this message in the networking platform