ResizeArray Function

Resizes an array. If the size is smaller than the current size, the array is truncated. If the size is larger than the current size, the data at the additional indexes will not be initialized.

void ResizeArray(Handle array, int newsize)

Parameters

Handle array

Array Handle.

int newsize

New size.

Errors

Invalid Handle or out of memory.