Resizes the array x to the size n. The original values will be lost. After size has been changed, the array will contain default values of the used data type.
Redim x[n]
The array with the new size containing default values of the specified data type.
local numbervar array x :=[1,2,3]; Redim x[4] ' The values of x are now: [ 0, 0, 0, 0]