>Hi,
>
>I have three include files that I want to include with my project. My predecessor would declare them in a method where the include file would be accessed but I would like to declare it only once in the startup program.
>
>So I have a few questions:
>
>1. Can I call all the include statements in the startup program and will they then be available throughout the operations of the program?No. The scope of the header (#INCLUDE) file is the .PRG, Class or form where it's included. You'll have to include it in each .PRG, class or form that uses it.
>
>2. Can I have more than one include file declared at a time or should I combine all of my include files into one file?You can #INCLUDE more than one file. You can create one "master" header file and #INCLUDE it instead.
#INCLUDE h1.h
#INCLUDE h2.h
#INCLUDE h3.h
>
>3. Is there a command similar to the Set("Path") that will allow me to see what has been declared.The header file aren't declared, they are included and processed before compilation begins. You can think of each #DEFINE directive as of a global replace that is done before code is compiled. The Document View can show preprocessor directives in .PRG's.
>Any suggestions for a better way to handle this issue would be greatly appreciated. BTW, I am using VFP 8 sp1.
--sb--