next up previous contents index
Next: Halt Up: Functions and Procedures Previous: Getdir

Getmem

   

Declaration:

Procedure Getmem (var p : pointer;size : longint) ;

Description:

Getmem reserves Size bytes memory on the heap, and returns a pointer to this memory in p. If no more memory is available, nil is returned.

Errors:

None.

See also:

Freemem, Dispose, New

For an example, see Freemem.



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