Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Insert Source Code
                                        Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   INCLUDE filename
 
            INCLUDE <filename>
 
  See also: INCLUDELIB, Angle brackets (<>), /I, /X
 
  Description:
 
     Inserts source code from <filename> into the current source file
     during assembly. If <filename> does not include a fully-specified
     path, the assembler searches the directory of the current file,
     the /I command-line include path or the PWB include path, and then
     the INCLUDE environment variable. Nested INCLUDE directives are
     allowed.
 
     The <filename> parameter is an existing file containing valid
     assembly-language statements and directives. No default file
     extension is assumed. Angle brackets are required if the filename
     or path includes a backslash, semicolon, greater-than, less-than,
     single quotation marks, or double quotation marks.
                                    -♦-