releaseImpl(obj) releases any resources
used by the System object™, such as file handles or devices. This
method also performs any necessary cleanup tasks. To release resources
for a System object, you must use
of a destructor.
releaseImpl is called by the
also called when the object is deleted or cleared from memory, or
when all references to the object have gone out of scope.
You must set
to close a file opened by the System object.
methods (Access = protected) function releaseImpl(obj) fclose(obj.pFileID); end end