Availability:built-in
?- consult(load). | % consult load
or load.pl |
?- [library(lists)]. | % load library lists |
?- [user]. | % Type program on the terminal |
The predicate consult/1
is equivalent to load_files(File, []), except for handling
the special file user, which reads clauses from the
terminal. See also the stream(Input) option of load_files/2.