I have a 'dynamic' table of values which I want to implement using a 2 dimensional dynamic array. The number of rows is fixed but the number of columns varies, so is it possible to increase the columns when the program is running?
i.e. there are 107 rows, so I would initialise the array using 'setlength(X, 107, 1). How do I increase the number of columns by 1? For example if I want to add a column to the 50th row can I do this using 'setlength'? if so, how?
I could use one dimensional dynamic arrays but I would have to declare 107 of them.
Thanks.