
set_prolog_flag(+Flag, ++Value)

   Set the flag Flag to value Value.

Arguments
   Flag                Atom.
   Value               Atomic or compound term.

Type
   Development Environment and Global Settings

Description
    A synonym for set_flag/2, for ISO-Prolog compatibility.

    Refer to the specification of get_flag/2 for details about each flag.

    The current value of a flag may be returned by current_prolog_flag/2 or get_flag/2.

    Note: The iso_strict-version of this predicate only allows access to
    the ISO-Prolog-defined flags:  bounded, char_conversion, double_quotes,
    integer_rounding_function, max_arity, min_integer, max_integer,
    unknown, debug.


Modes and Determinism
   set_prolog_flag(+, ++) is det

Exceptions
     4 --- Flag and/or Value are not instantiated.
     5 --- Flag is neither an atom nor a variable.
     5 --- Value is not of the expected type.
     6 --- Flag and/or Value are out of range.
    30 --- Flag is a read-only flag.
   141 --- Unimplemented setting.

Examples
   
   ?- set_prolog_flag(unknown, fail).


See Also
   set_flag / 2, current_prolog_flag / 2
