Jump to content

Comparing Arrays and Arrays with String Indexes


laurin1
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...