# OOP Syntax Elements

DROP OBJECT Directive |

DROP OBJECT obj_id

The DROP OBJECT directive is used to delete an object and its properties (if the reference count is 1). This directive has the same effect as using REF(DROP obj_id) to decrement the reference count from 1 to 0.

The DELETE OBJECT and DROP OBJECT directives may be used interchangeably for this purpose.

## See Also

DROP OBJECT Directive
DELETE OBJECT Directive