Yes, latest stable version of prolog 8.0.2 uses 'reloading'. Docs needs update.
|Did you know ...||Search Documentation:|
|Directory in which |
|Compatibility mode. See expects_dialect/1.|
|Similar to |
|Module into which file is loaded|
|Boolean that indicates whether the file is loaded as a script file (see -s)|
|File being loaded. If the system is
processing an included file, the value is the main file.
Returns the original Prolog file when loading a
|Stream identifier (see current_input/1)|
|Start position of last term
read. See also
|Term being expanded by expand_term/2.|
|A list of‘Name = Var’of the last term read. See read_term/2 for details.|
directory is commonly used to add rules to file_search_path/2,
setting up a search path for finding files with absolute_file_name/3.
:- dynamic user:file_search_path/2. :- multifile user:file_search_path/2. :- prolog_load_context(directory, Dir), asserta(user:file_search_path(my_program_home, Dir)). ... absolute_file_name(my_program_home('README.TXT'), ReadMe, [ access(read) ]), ...