include

Name

include --  specifies a path to search for include files

Syntax

classsyntaxminimal syntax
invocation line only

/include [=filename]

/i [=filename]

Description

Normally, when using the .incld directive, the program looks in the current and default directories to find a file without an explicit directory name (refer to the Section called include file search order in Chapter 2). If not found, it flags an error. This control enables the program to search other devices and/or directories to find the file. Multiple directories may be searched by specifying each on a separate INCLUDE control. The class is invocation line only.

Example

Check root directory on drive C:

	C:\COP8\NSASM\EXAMPLES>asmcop.exe sample1.asm /I=C:\
	

Check parent directory

	C:\COP8\NSASM\EXAMPLES>asmcop.exe sample1.asm /I=..