<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Memory handling and pointers > Crt memory > Crt_ReAlloc |
Description
Reallocate memory blocks
Syntax
ptr = Crt_ReAlloc(pMem, lSize)
Returns
Number: pointer to the allocated memory area.
If returned value is zero, an error has occurred.
Parameters
Name |
Type |
Optional |
Meaning |
pMem |
Number |
No |
Pointer to previously allocated memory block. |
lSize |
Number |
No |
Length in bytes of each element. |
Remarks
Restrictions
See also
Examples