:- include +Files
Literally embed the Prolog clauses and directives in Files into the file being loaded. The file or files will be opened with default options.
file_spec or list of file_spec, must be ground
A file specification or a list of file specifications; extension optional.
The effect is such as if the declaration itself was replaced by the text in the Files. Including some files is thus different from loading them in several respects:
source_file/2; see ref-lps-apf.
include is not an ISO predefined prefix operator.
Exceptions in the context of loading code are printed as error messages.
Declaration appeared in a goal.
Declaration appeared as a clause.