[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'System' (#rtl) |
Allocate new memory on the heap
Source position: line 0
procedure Getmem( |
var p: pointer; |
Size: PtrInt |
); |
size: PtrInt |
):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 |
No notes exist for this page yet.