Object Destruction |
Top Previous Next |
To destroy an object, use the 'drop object' statement. Since the object variable no longer references an object, it can be set to 0, reused, or ignored. Once an object is no longer needed, it is good practice to destroy it. For example, beware of objects created repeatedly in loops and not destroyed.
drop object objvar
|