1.2.11 $INCLUDEPATH : Specify include path.

This option serves to specify the include path, where the compiler looks for include les. Used as

\var{\{\$INCLUDEPATH XXX\}}

it will add XXX to the include path. The value XXX can contain one or more paths, separated by semi-colons or colons.

For example:

{$INCLUDEPATH ../inc;../i386}  
 
{$I strings.inc}

will add the directories ../inc and ../i386 to the include path of the compiler. The compiler will look for the le strings.inc in both these directories, and will include the rst found le. This directive is equivalent to the -Fi command line switch.

Caution is in order when using this directive: If you distribute les, the places of the les may not be the same as on your machine; moreover, the directory structure may be dierent. In general it would be fair to say that you should avoid using absolute paths. Instead, one should use relative paths only, as in the example above.