>I would like to create an include file with some #DEFINE statements in it for a project I'm working on.
>
>I'm not quite sure where to put it so they will be available as I'm working on a project.
>
>Example:
>
>I would put something like
>
>#DEFINE wmCRLF CHR(010)CHR(013)
>
>in the file so I could use wmCRLF anywhere in the app I'm working on.
>I tried creating a vfpStart.prg that is called from my config.fpw file and it is included there. Is that possible?
>
>TIA
3 ways:
1. In every PRG and every snippet [method, etc.], you have to include the command #INCLUDE MY_H_FILE.H
2. If using VFP 6, use the _Include system variable to specify which default include file to use when compiling. In your baseform class, you need to click on menu pad FORM, then click the Include option to specify the file name and location. Have to do this for classes as well.
3. Add your DEFINEs to the FoxPro.H file, and use the FoxPro.H file for your default. [my preference]
Mark McCasland
Midlothian, TX USA