hi Sanjana
Like all variables, you initialize object reference variables using the CLEAR statement.
As soon as there are no more references to an object, and so long as none of its methods are registered as event handlers, it is deleted by the automatic memory management (garbage collection). The ID of the object then becomes free, and can be used by a new object.
regards,
Archer