Array.Resize (gb)

Sub Resize ( Size As Integer )

Resizes the array.

If the array is reduced, then elements are removed from the end.

If the array is expanded, then new elements with a default value are inserted at the end.

The array cannot be resized if it is multi-dimensional.