-ipath

Directs the Compiler to search specified directories for files to be included in the source program text by use of the %INCLUDE statement.

Syntax

Windows: -ipath "dirname[;dirname][...]"
UNIX: -ipath "dirname[:dirname][...]"

Parameter

dirname
A directory to search. Directories are searched in the order listed on the command line.

Example

The source program contains:

%INCLUDE partlist;

In a UNIX environment, the Compiler invocation is:

mfplx source_file -ipath ".;/u/libr1:/u/libr2"

In this case, the Compiler searches first for "PARTLIST" in the current working directory, then /u/ libr1, and finally /u/ libr2. If that fails, it searches for "partlist" (lowercase) in the same directories.

In a Windows environment, the Compiler invocation is:

mfplx source_file -ipath ".;drive:\libr1;drive:\libr2"

In this case, the Compiler searches first for "PARTLIST" in the current working directory, then drive:\libr1, and finally drive:\libr2. If that fails, it searches for "partlist" (lowercase) in the same directories.