Next: , Previous: , Up: mpg-bpr   [Contents][Index]


11.3.168 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, then it simply fails.

Backtracking

Can be used to backtrack through all keys and values.

Exceptions

None.

See Also

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


Send feedback on this subject.