Destroy an ActiveX object.
$ObjDestroy (Object)
| Object | a component object variable or formfield of type OLE |
Returns a boolean; TRUE if the object was destroyed.
In Zim 7.1, setting an object to $Null will also destroy it. This is the preferred method of releasing an object. For example:
Let MyObj = $Null
Instead of
$ ObjDestroy(MyObj)