Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about global vars/procedures
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00356628
Message ID:
00357361
Views:
21
Just a note about the _INCLUDE variable.

_INCLUDE is used to save key strokes, that's it. It's there so you don't have to remember to use the Form - Include File or Class - Include File menu options to add it to your forms and classes, respectively.

_INCLUDE only works at creation; it is not retroactive. What I mean by this is if you create a new form or class without having _INCLUDE specified and then later assign it, the new file will not be included in your code. You have to use the menu options at this point.

One other limitation is that _INCLUDE does not have any effect on menu or program files. You have to handle these items manually.

>
>In development, the _INCLUDE variable in VFP6
_INCLUDE System Variable
>
>Specifies a default header file included with user-defined classes, forms, or form sets.
>
>Syntax
>
>_INCLUDE = HeaderFileName
>
>Arguments
>
>HeaderFileName
>
>Specifies a default header file of predefined compile-time constants automatically included with user-defined classes, forms, or form sets. If your header file is in a directory other than the current default directory, include a path with the header file name. Contains the empty string by default.
>
>Remarks
>
>You can also specify the default header file with the Default Include File item in the File Locations tab of the Options dialog box.
>
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform