mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2004
Posts: 2
S
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Feb 2004
Posts: 2
I have a max of 1400 items in alphabetical order in an ini file for my hash table so I made a table with 130 slots, loaded the ini file into the htable, tried searching for wildcard A's with $hfind(mytable,A*,1,w) and was expecting it to find the "A" items in alphabetical order and it came out with "Ai" as the first item but it should of been "Ab"... So then I tried saving it and it was not the same as the file I loaded, it was not in alphabetical order!! Can somebody tell me what I did wrong? Or someway to remedy this? And I definitely need it in alphabetical order.

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Please refer to this post.

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
I can't think of a reason to get it alphabetical, but you could use the hashtable for saving, and if you want to draw information from it, first create a sorted window (/window -hs @tmp) and then dump the hashtable contents into the window. Don't forget to close it when done.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius

Link Copied to Clipboard