help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

MemSize

Return the size of a memory block.

Declaration

Source position: heaph.inc line 91

function MemSize(

  p: pointer

):PtrInt;

Description

MemSize returns the size of a memory block on the heap.

Errors

Passing an invalid pointer may lead to run-time errors (access violations).

See also

GetMem

  

Allocate new memory on the heap

FreeMem

  

Release allocated memory

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505