Is there a way to expand a vecor (array)? For example if I have a vector with 3 values and I want to add another value (as number 4), how do i do? It must be possible.
dim myArr()<BR><BR>Redim myArr(3)<BR>myArr(0) = 1<BR>myArr(1) = 2<BR>myArr(2) = 3<BR><BR>redim Preserve myArr(3)<BR>myArr(3) = 4
Isn't there a way to just add another value, without knowing the number of values?
myNum = ubound(myArr)<BR>Redim preserve myArr(myNum+1)