Releases an ActiveX server object.
An integer, a handle to an ActiveX object.
An integer, 1 if successful else 0.
word = createobject("word.application");
word.visible = 1;
Starts an instance of Word as an ActiveX server, makes it visible, then releases the word object.
Release is not required on object handles that fall out of scope. For example:
RELEASE is not required in the above SPL routine because the local variable word falls out of scope when the routine terminates. However, RELEASE is useful for explicitly terminating ActiveX connections.