Sign in to follow this  
Followers 0
dhack

Hash Lists

7 posts in this topic

Ok.. here's a workup i made for hash lists in AutoIT3. You can add values under keys.. works sorta like an INI file, .. but well, it's a hash table

lemme know what you think, additions, etc--

Put the 'Hash.au3' in your include dir before running example.

damon

testhash.au3

Hash.au3

Share this post


Link to post
Share on other sites



Good work. There are several threads about hash structures. Some new and some a year old. I'll try yours out.

Thanks

Share this post


Link to post
Share on other sites

Good work.  There are several threads about hash structures.  Some new and some a year old.  I'll try yours out.

Thanks

<{POST_SNAPBACK}>

oops.. i didn't know.. suppose i shoulda searched the forums.. but, i guess there is no UDF for it yet anyway.

thanks for the reply

Damon

Share this post


Link to post
Share on other sites

mrider was quite involved with this

http://www.autoitscript.com/forum/index.ph...opic=11611&st=0

you may like to compare.

(pls let me know if this is not most relevant post to mrider's hash udfs)

J

<{POST_SNAPBACK}>

I believe mine is a bit simpler to use (Add hashes one at a time without having

to call a resize function -- maybe i misread).. but as of now, i don't have sorting..

Thanks for the input,

Damon

Share this post


Link to post
Share on other sites

I believe mine is a bit simpler to use (Add hashes one at a time without having

to call a resize function -- maybe i misread).. but as of now, i don't have sorting..

Try my binary tree structure. It's a look-up structure based on a unique key which is stored in a binary tree, so it's always sorted on the fly:

http://www.autoitscript.com/forum/index.php?showtopic=13114

Share this post


Link to post
Share on other sites

Ok.. here's a workup i made for hash lists in AutoIT3. You can add values under keys.. works sorta like an INI file, .. but well, it's a hash table

lemme know what you think, additions, etc--

Put the 'Hash.au3' in your include dir before running example.

damon

I'm using your hash function, which works great. How do I delete the whole hash at once?


Keith Davis

MCSA, ZCE, A+, N+

http://www.laurinkeithdavis.com

Share this post


Link to post
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
Sign in to follow this  
Followers 0