sshrum Posted June 8, 2005 Posted June 8, 2005 (edited) Using AutoIT 3.1.1.43I have to be doing something wrong but I just don't see it (otherwise it's a bug). :"> $aSrc has 1054 elements and $aDst has 150 elementsThe following fails on the very last pass:for $i = 0 to ubound($aSrc) - 1 if $i = ubound($aSrc) - 1 then msgbox(0,"Result","Last entry: " & ubound($aSrc)) $iIndex = _ArrayBinarySearch($aDst,$aSrc[$i]) if $i = ubound($aSrc) - 1 then msgbox(0,"Result","Done") if not @error then _ArrayDelete($aDst, $iIndex) NextI get the Last entry MsgBox but it errors out afterwards. It never hits the DONE msg and errors out with: Quote C:\Program Files\AutoIt3\Include\Array.au3 (57) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If $avArray[$iLwrLimit]> $sKey Or $avArray[$iUprLimit] < $sKey Then If ^ ERRORAny ideas? Edited June 8, 2005 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
w0uter Posted June 8, 2005 Posted June 8, 2005 try to decrease $iLwrLimit till it stops the erroring. if all things show its probly going to far. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
Developers Jos Posted June 8, 2005 Developers Posted June 8, 2005 See answer/question in your BUG report on this very same subject... :"> SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now