laurin1 Posted October 16, 2006 Share Posted October 16, 2006 I guess AutoIt doesn't do string array indexes (ex. array['apple'], array['orange'])? Are there any plans to add this functionality? The problem i have is i have two 500 element arrays that i'm having to compare and it's very, very slow. If i could call both by index, it would be much faster, as right now it has to cycle through 250000 comparisons. Any ideas? Keith Davis MCSA, ZCE, A+, N+ http://www.laurinkeithdavis.com Link to comment Share on other sites More sharing options...
/dev/null Posted October 16, 2006 Share Posted October 16, 2006 I guess AutoIt doesn't do string array indexes (ex. array['apple'], array['orange'])? Are there any plans to add this functionality? There is no native support for associative arrays in AuotIT, however there is a Hash UDF available which does what you want. See here:http://www.autoitscript.com/forum/index.php?showtopic=13947 Cheers Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
trids Posted October 17, 2006 Share Posted October 17, 2006 I haven't tried the UDF, but I would start with a temporary ini file, me Link to comment Share on other sites More sharing options...
laurin1 Posted October 17, 2006 Author Share Posted October 17, 2006 I haven't tried the UDF, but I would start with a temporary ini file, me Actually, i used the hash UDF and it works great. Very fast! Keith Davis MCSA, ZCE, A+, N+ http://www.laurinkeithdavis.com 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