resize_array

( <-- Back to Sporkl Function Library )


void resize_array ( array [any_base_type] & arr, [byte,int,float] newsz )


Changes the size of an array.



Arguments:

arr:
newsz:
Array to resize
New size to resize array to

Returns:

Nothing.

Notes:

If the array is resized to a larger size, the values of the original elements are preserved.









sporkforge