[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Allocate new memory on the heap
Source position: line 0
procedure Getmem( |
out p: pointer; |
Size: PtrUInt |
); |
size: PtrUInt |
):pointer; |
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.
For an example, see Freemem.
None.
|
Release allocated memory |
|
|
Free dynamically allocated memory |
|
|
Dynamically allocate memory for variable |
lazarus-ccr.sourceforge.net |