Availability:built-in
- include(+Include)
- What to include into the QLF file. Currently accepts only a single
value: the atom
user
. When specified, files loaded indirectly from File that to not come from the Prolog library are included into the.qlf
file. This may be used to generate a single file from an application. The result is comparable to a save state (see qsave_program/2) with the folowing differences:- Only your application code is included. The Prolog libraries and boot files are not.
- Only Prolog code is included,
.qlf
files cannot include arbitrary resources. - The file can be loaded into a running Prolog process, while a saved state can only be loaded into a virgin Prolog virtual machine.