create or resize a dynamic array, preserving contents within range
extend or reduce an array size at run-time
redim string s(n)
to flush an array's contents, redim it with 0 elements first. But avoid
doing this with arrays of strings; the orphaned strings are not garbage-collected
until the end of the program, and will accumulate on each iteration where the redim
reduces the number of elements.