103
DROP OBJECT Directive
Delete Object
Format
DROP OBJECT obj_id
Where:
obj_id
Object Identifier
Description
The DROP OBJECT directive is used in Object Oriented Programming to delete an object.
Only objects whose reference count is 1 can be deleted. Once an object is destroyed,
its identifier may be re-assigned to another object; although, this is not
recommended.
Objects are destroyed when the application issues a START directive.
REF (READ obj_id) returns the current reference count value. All calls to REF( )
return the current reference count (or 0, if deleted).
Note: The DELETE OBJECT and DROP OBJECT directives can be used interchangeably
regardless of the object being dropped. For further information, refer to the DELETE
See Also