druiddk Posted November 24, 2008 Share Posted November 24, 2008 Im trying to modify an array existing of 29 entries. After deleting 21 entries using _ArrayDelete it looks like i want it to, but _ArrayMax still returns 29! Please! Should it not decrease when using _ArrayDelete? If not, how could i force a recalculation? Link to comment Share on other sites More sharing options...
Jikoo Posted November 24, 2008 Share Posted November 24, 2008 (edited) Use Ubound to know the real total of entries in your array.See the AutoIt helpfile. Edited November 24, 2008 by Jikoo My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies). Link to comment Share on other sites More sharing options...
druiddk Posted November 24, 2008 Author Share Posted November 24, 2008 I tried that already but that just return 30 (29+1). This makes me believe that the entries I deleted using _ArrayDelete are just emptied but left there messing up the index. Any ideas? Link to comment Share on other sites More sharing options...
Jikoo Posted November 24, 2008 Share Posted November 24, 2008 (edited) Normal.Write Ubound($array)-1 Edited November 24, 2008 by Jikoo My projects : GCS Search 1.07 (GUI Control Styles Search)* Multilingual tool to help about the old scripts, with a dynamic menu.* Easy way to find missing Include files in old scripts downloaded from forums !* Famous Monoceres script added and improved (visual, drag and drop, automatic)* There is an interactive color converter with palettes too, for fun !The best way to start Autoit3 development (for newbies). Link to comment Share on other sites More sharing options...
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