login

Availability:built-in
consult(:File)
Read File as a Prolog source file. Calls to consult/1 may be abbreviated by just typing a number of filenames in a list. Examples:

?- 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.