Deletes a BOOPSI object. All memory associated with the object is freed. The object must have been created with NewObject(). Some object contain other object which might be freed as well when this function is used on the "parent" while others might also contain children but won't free them. Read the documentation of the class carefully to find out how it behaves.
INPUTS
object
The result of a call to NewObject() or a similar function, may be NULL.
RESULT
None.
EXAMPLE
SEE ALSO
NewObject(), SetAttrs((), GetAttr(), MakeClass() "Basic Object-Oriented Programming System for Intuition" and "boopsi Class Reference" Dokument.
NOTES
This functions sends OM_DISPOSE to the object.
Be careful not to use this function inside of OM_NEW to dispose the current object. This can cause massive problems. Use CoerceMethod() on the current class and object instead.
BUGS
INTERNALS
HISTORY
20.10.1998 hkiel
Amiga Research OS
12.08.1998 srittau
Added warning not to use DisposeObject() during OM_NEW methods.