Gives an array new sizes while the program runs. Syntax is ReDim name[size1][size2]..., with one size for each of the array's dimensions. What fits in the new sizes is kept; the new cells are 0, "" for Strings and Null for Types. The sizes can be any expression, so ReDim list[ArrayLength(list) + 1] makes room for one more.
Works on Local and Global arrays (not yet on Fields, Consts or parameters). An array used with ReDim can't be given starting values when it's declared.
Gives an array new sizes while the program runs. Syntax is ReDim name[size1][size2]..., with one size for each of the array's dimensions. What fits in the new sizes is kept; the new cells are 0, "" for Strings and Null for Types. The sizes can be any expression, so ReDim list[ArrayLength(list) + 1] makes room for one more.
Works on Local and Global arrays (not yet on Fields, Consts or parameters). An array used with ReDim can't be given starting values when it's declared. To clear the array as well, use EraseDim. ArrayLength gives its sizes.