Hello,
The last couple of day's I was searching on this forum for the best way to put array's inside array's.
The best example's i found where a little outdatet (2010) whit a lot of pro's and con's.
Now I've a big script where a lot of computations and big array's are involved, so speed is a big issue.
Also I wanna try the script below but don't know iff speed is a problem this way or maybe there is a better way to do this.
Does somebody know's the best way to put array's inside
So if you filled a 2x2 array with other 2d arrays, this is how you would call the item in 0,0 of each of those elements.
#include <Array.au3>
Global $aArray[Random(5,10,1)][Random(5,10,1)]
Global $Holder[2][2]
For $w = 0 to ubound($Holder) - 1
For $x = 0 To UBound($aArray,1) - 1
For $y = 0 To UBound($aArray,2) - 1
$aArray[$x][$y] = Round(Random(-1,1),4)
Next
Next
$Holder[$w][0] = $aArray