| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Return the size of a memory block.
Source position: heaph.inc line 89
| function MemSize( | 
| p: pointer | 
| ):PtrUInt; | 
MemSize returns the size of a memory block on the heap.
Passing an invalid pointer may lead to run-time errors (access violations).
| 
 | Allocate new memory on the heap | |
| 
 | Release allocated memory |