prolog_load_context/2prolog_load_context(+Key, -Value)
prolog_load_context(*Key, *Value)
Finds out the context of the current load.
You can call prolog_load_context/2 from
an embedded command or by term_expansion/2 to find out the
context of the current load. If called outside the context of a load,
it simply fails.
module
file
stream
directory
term_position
This predicate is meant to be used in the
mode (+, -), but it is also possible to backtrack through it.
load_files/[1,2]
ref-lps