- Documentation
- Reference manual
- Built-in Predicates
- Loading Prolog source files
- load_files/1
 - load_files/2
 - consult/1
 - ensure_loaded/1
 - include/1
 - require/1
 - encoding/1
 - make/0
 - library_directory/1
 - file_search_path/2
 - expand_file_search_path/2
 - prolog_file_type/2
 - source_file/1
 - source_file/2
 - source_file_property/2
 - unload_file/1
 - prolog_load_context/2
 - source_location/2
 - at_halt/1
 - cancel_halt/1
 - initialization/1
 - initialization/2
 - initialization/0
 - compiling/0
 - Conditional compilation and program transformation
 - Reloading files, active code and threads
 - Quick load files
 
 
 - Loading Prolog source files
 
 - Built-in Predicates
 - Packages
 
 - Reference manual
 
Availability:built-in
require(+ListOfNameAndArity)The implementation normally first verifies whether the predicate is already defined. If not, it will search the libraries and load the required library.
SWI-Prolog, having autoloading, does not load the library. Instead it creates a procedure header for the predicate if it does not exist. This will flag the predicate as `undefined'. See also check/0 and autoload/0.