11.3.167 prolog_load_context/2

Synopsis

prolog_load_context(?Key, ?Value)

Finds out the context of the current load. The available context keys are described in ref-lps-lco.

Arguments

Key
atom
Value
term

Description

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.

See Also

load_files/[2,3], ref-lps-lco.


Send feedback on this subject.