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

array variable dimension range exceeded error

$
0
0

I'm fairly new to autoit and I'm having issues with reading from my array. My scripts is basically as follows:

$MyArray = IniReadSection ("Someini.ini" , "iniSection") $NoElements = UBound($MyArray) $i=1 For $i = 1 to $NoElements-1 MsgBox ($MB_SYSTEMMODAL, "", $MyArray[$i]) Next

The $NoElements variable returns the correct number of elements in the array (+1) however when I try to display the values in a message box I get the range exceeded error. I tested the _FileWriteFromArray after I created the array so I know its not empty.

 

Can someone point out where I'm going wrong.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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