11.3.43 consult/1

Synopsis

consult(+Files)

Consults the specified Prolog source file(s) into memory.

Arguments

:Files
file_spec or list of file_spec, must be ground

A file specification or a list of file specifications; extensions optional.

Description

This predicate is defined as if by:

     consult(Files) :-
             load_files(Files, [load_type(source),compilation_mode(consult)]).

Exceptions

See load_files/[2,3].

See Also

ref-lod-lod.


Send feedback on this subject.