Skip to content

#INCLUDE

To include a file in a program, use the #INCLUDE Compiler Directive, followed by the filename in single quotes.

Example:

1
2
3
4
DEFINE_PROGRAM
(* Program statements can go here *)
#INCLUDE 'TEST.AXI'
(* More program statements can go here *)
  • When the compiler reaches the #INCLUDE statement, it jumps into the specified file and continues compiling.
  • When it has reached the end of that file, it comes back to the line following the #INCLUDE statement and continues compiling.

See Also