read_write
and read_only
. The default is read_write
.boolean
, atom
, oneof(ListOfAtoms)
,
integer
, float
and term
. The
default is determined from the initial value. Note that term
restricts the term to be ground.true
, do not modify the flag if it already exists.
Otherwise (default), this predicate behaves as set_prolog_flag/2
if the flag already exists.
If the flag has a value, but this value is incompatible with the specified type, a warning is printed and the flag gets the value and type specified by this call to create_prolog_flag/3.