11.3.197 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

prolog_flag/3.


Send feedback on this subject.