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

Multi dimensional arrays & stringsplit() function

$
0
0
so I wanted to create a multi dimensional array using a loop and stringsplit function, it'd be all great but if the loop goes on over 100 times, the script wont run and will return the following error:  ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.

[ autoit ]      
for $i = 1 to 100 $array2 = stringsplit($array[$i],",") Next

the loop as it is wont let the script compile or even run, if I decrease the 100 to 99 however, the script runs fine. the thing is I need to do over 5000 loops for it to be completed.
any ideas?

kind regards.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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