next up previous contents index
Next: Rename Up: Functions and Procedures Previous: Readln

Release

   

Declaration:

Procedure Release (Var P : pointer) ;

Description:

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.

Errors:

A run-time error will be generated if P points to memory outside the heap.

See also:

Mark, Memavail, Maxavail, Getmem, Freemem New, Dispose

For an example, see Mark.



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998