Availability:built-in
- access(+Access)
- Define access rights for the flag. Values are
read_write
andread_only
. The default isread_write
. - type(+Atom)
- Define a type restriction. Possible values are
boolean
,atom
,oneof(ListOfAtoms)
,integer
,float
andterm
. The default is determined from the initial value. Note thatterm
restricts the term to be ground. - keep(+Boolean)
- If
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.