AllocMem

Allocate and clear memory.

Declaration

Source position: heaph.inc line 104

  function AllocMem(Size: PtrUInt) : pointer;

Description

AllocMem calls getmem GetMem , and clears the allocated memory, i.e. the allocated memory is filled with Size zero bytes.

See also

Name Description
GetMem Allocate new memory on the heap