_ObjectReference( ) API Library Routine
Increments the reference count of an object.
int _ObjectReference(Value FAR *objct)
CLEAR MEMORY or CLEAR ALL releases an API object from memory.
0 is returned unless an error occurs. When an error occurs, a negative number representing an internal error code is returned.
For more information on how to create an API library and integrate it with Visual FoxPro, see Accessing the Visual FoxPro API.
Reference
_FreeObject( ) API Library Routine_ObjectRelease( ) API Library Routine