[Overview][Procedures and functions] | Reference for unit 'strings' (#rtl) |
Allocate memory for a new null-terminated string on the heap
Source position: strings.pp line 86
function stralloc( |
L: SizeInt |
):pchar; |
StrAlloc reserves memory on the heap for a string with length Len, terminating #0 included, and returns a pointer to it.
If there is not enough memory, a run-time error occurs.
|
Allocate room for new null-terminated string. |
|
|
Copy a pascal string to a null-terminated string |
No notes exist for this page yet.