The ReallocMem
procedure reallocates dynamic memory.
Declaration
ReallocMem(Var, Size)
Parameters
Var | [in, out] | Required | Variant | |
Size | [in] | Required | Integer | |
Result | None |
Description
Changes the size of an allocated memory block that was allocated earlier with the GetMem
procedure.
Parameters
The procedure has the following parameters:
Var
Returns the address of the reallocated memory block.
Size
Specifies the size of the reallocated memory block.
See Also
DelphiScript - List of Supported Routines and Variables
FreeMem
GetMem