11.3.40 compile/1

Synopsis

compile(+Files)

Compiles 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:

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

Exceptions

See load_files/[2,3].

See Also

ref-lod-lod.


Send feedback on this subject.