Your idea is slightly flawed, because in a typical 2D array, you cannot just add a single element without resizing the entire array.
Since you don't give a choice to add either horizontally or vertically with two buttons, how should the program decide where to add?
Could it be you want to fill the first three horizontally, then continue on the next row, and so on? (see attached modification).
Typically it is better to start with a fixed sized array of empty strings (e.g. 3x5), then use "replace array element" to enter a new value at the desired location. Constantly resizing arrays is inefficient.
Message Edited by altenbach on 03-15-2005 04:44 PM