DELETE PTR
The DELETE PTR statement frees the memory allocated to a memory pool object by a previous NEW statement.
pData = NEW _mydata ... DELETE PTR(pData)
The objects in a memory pool are automatically deleted when the function owning the pool goes out of scope but it is good practice to free objects with DELETE PTR() once they are no longer needed.
Status
Experimental.
Compatibility
Introduced with KCML 7.00.
Syntax examples:
DELETE PTR(m)
See also: