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


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,3], set_prolog_flag/2, ref-lps-flg.


Send feedback on this subject.