Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Error Initializing 5D Array

$
0
0
Hi!
I was messing around with AutoIT, and found I can't initialize a 5D array. I re-checked the square brackets countless times, but AutoIT keeps returning "ERROR: wrong nesting in initializer". 4D arrays work fine.
Here is the example:
[ autoit ]      
Local $arTestOk[2][2][2][2] = [[[[0,0],[0,0]],[[0,0],[0,0]]],[[[0,0],[0,0]],[[0,0],[0,0]]]] Local $arTestBad[2][2][2][2][2] = [[[[[0,0],[0,0]],[[0,0],[0,0]]],[[[0,0],[0,0]],[[0,0],[0,0]]]],[[[[0,0],[0,0]],[[0,0],[0,0]]],[[[0,0],[0,0]],[[0,0],[0,0]]]]]

Is this a bug with AutoIT?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>