Procedure Release (Var P : pointer) ;
Release sets the top of the Heap to the location pointed to by P. All memory at a location higher than P is marked empty.
A run-time error will be generated if P points to memory outside the heap.
Mark, Memavail, Maxavail, Getmem, Freemem New, Dispose
For an example, see Mark.