Target Language Compiler | ![]() ![]() |
Input File Control
The input file control directives are
%include
The %include
directive searches the path for the target file specified by string
and includes the contents of the file inline at the point where the %include
statement appears.
%addincludepath
The %addincludepath
directive adds an additional include path to be searched when the Target Language Compiler references %include
or block target files. The syntax is
The string
can be an absolute path or an explicit relative path. For example, to specify an absolute path, use
To specify a relative path, the path must explicitly start with ".
". For example,
When an explicit relative path is specified, the directory that is added to the Target Language Compiler search path is created by concatenating the location of the target file that contains the %addincludepath
directive and the explicit relative path.
The Target Language Compiler searches the directories in the following order for target or include files:
%addincludepath
directives
-I
Typically, %addincludepath
directives should be specified in your system target file. Multiple %addincludepath
directives will add multiple paths to the Target Language Compiler search path.
![]() | Output File Control | Asserts, Errors, Warnings, and Debug Messages | ![]() |