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


11.3.206 set_prolog_flag/2   ISO

Synopsis

set_prolog_flag(+FlagName, +Value)

same as:

prolog_flag(FlagName, _, Value)

Arguments

FlagName

atom, must be nonvar

Value

term, must be nonvar and belong to proper type/domain

Exceptions

instantiation_error

An argument is unbound.

type_error

FlagName is not an atom, or Value has the wrong type.

domain_error

FlagName is not a valid flag name, or Value is not a valid value for it.

permission_error

The flag is read-only.

See Also

current_prolog_flag/2, prolog_flag/[2,3], ref-lps-flg.


Send feedback on this subject.