ProvideX V8.20 > Language Reference > 2. Directives
198
· File handles (if the object is maintained on a file).
· Security information.
· Flags and status information used by the programming logic.
If the local variable contains an object identifier to another object, specify the
keyword OBJECT after the variable name. When the object is deleted, ProvideX will
use the REF( ) function against the object identifier to remove it (as long as it has no
other references); e.g.,
DEF CLASS "Customer"
LOCAL File OBJECT
When you delete an object whose class is Customer, then the system reduces the
reference count of the object whose identifier is in File and, if it is no longer being
referenced, deletes it as well.
Refer to the following functions and directives for related information on Object
Oriented Programming:
Object Oriented Programming, p.21
DEF CLASS Define Object Class, p.64
DROP CLASS Delete Class Definition, p.101
DROP OBJECT Delete Object, p.103
FUNCTION Declare Object Method, p.136
LIKE Inherit Properties, p.173
LOAD CLASS Pre-Load Class Definition, p.194
PROGRAM Create/Assign Program File, p.257
PROPERTY Declare Object Properties, p.259
RENAME CLASS Change Name of Class, p.281
STATIC Add Local Properties at Runtime, p.327
NEW( ) Function, p.487
REF( ) Function, p.510