| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Allocate and clear memory.
Source position: heaph.inc line 100
function AllocMem(  | 
Size: PtrUInt  | 
):pointer;  | 
AllocMem calls getmem GetMem, and clears the allocated memory, i.e. the allocated memory is filled with Size zero bytes.
  | 
Allocate new memory on the heap  |