Next: , Previous: mpg-ref-current_predicate, Up: mpg-bpr


11.3.56 current_prolog_flag/2   [ISO]

Synopsis

current_prolog_flag(?FlagName, ?Value)

same as prolog_flag(FlagName, Value), except that current_prolog_flag(FlagName, Value) type checks FlagName.

Arguments

FlagName
atom
Value
term

Exceptions

type_error
FlagName is not an atom.
domain_error
FlagName is not a valid flag name.

See Also

prolog_flag/2.


Send feedback on this subject.