If I create a 2D array with:
Local $b[2][3] = [[1, 2, 3], [4, 5, 6]]
No problem
But it would simplify my work a lot if I could create a 2D array by specifying row subarrays:
Local $a0[3] = [1, 2, 3]
Local $a1[3] = [4, 5, 6]
Local $b[2][3] = [$a0, $a1]
Apparently, this doesn't work, I get the following error:
: ==> Missing subscript dimensions in "Dim" statement.:
Local $b[2][3] = [$a0, $a1]
Local $b[2][3] = [^ ERROR
Basically, I would like to use subarrays (arrays for the rows) to construct the 2D array, and then, be able to normally retrieve the individual elements with, for example:
consoleWrite('$b01: ' & $b[0][1]
I am sure there is a work around, or there is something I overlooked.
Thanks for the help.