|
Post by ezmoney on Feb 7, 2013 5:03:30 GMT -5
I tried to post this question in the code section but all I got was an error.
I need to set up a multi dimentional array with 3 or more levels.
Can anyone give me the indexing formula to generate 3,4,5 and 6 to index these multi-dimentional arrays?
Please include any information regarding core limits.. Thanks!!!
|
|
|
Post by StefanPendl on Feb 9, 2013 8:42:05 GMT -5
To create a new thread use To reply to a thread use or
There is no formula needed for multiple dimensions. Are you really sure you need so many dimensions? What kind of data do you collect in this array?
|
|
|
Post by ezmoney on Feb 9, 2013 16:56:43 GMT -5
;)Doing 3 dimentional work. And some multivarate analsys multi dimentional Is there another way to do it?
|
|
|
Post by StefanPendl on Feb 10, 2013 8:41:10 GMT -5
The one below works for me. dim array(5,5,5,5)
array(1,1,1,1) = 12 array(5,5,5,5) = 23
for i = 1 to 5 for j = 1 to 5 for k = 1 to 5 for l = 1 to 5 print i; j; k; l; " ... "; array(i,j,k,l) next next next next
How big is your array? You may hit the 1GB memory limit of RB, if it is too big.
|
|