prolog_load_context/2prolog_load_context(?Key, ?Value)
Finds out the context of the current load. The available context keys are described in ref-lps-lco.
You can call prolog_load_context/2 from
an embedded command or from term_expansion/6 to find out the
context of the current load. If called outside the context of a load,
it simply fails.
Can be used to backtrack through all keys and values.
None.
load_files/[2,3], ref-lps-lco.