Procedure Getmem (var p : pointer;size : longint) ;
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.
None.
Freemem, Dispose, New
For an example, see Freemem.