[ Obsolete | Reference Manual | Alphabetic Index ]

local reference(+Name)

Creates a named reference called Name.
Name
An atom.

This built-in predicate is obsolete!

Description

This creates a named reference with the atomic name Name and an initial value of 0. This form is deprecated, please use the equivalent
        local reference(Name, 0).	

Modes and Determinism

Exceptions

(4) instantiation fault
Name is not instantiated.
(5) type error
Name is not an atom.

Examples


See Also

reference / 2