mIRC Home    About    Download    Register    News    Help

Print Thread
Multiple Dimension Array and For Loop #454
09/12/02 03:19 AM
09/12/02 03:19 AM
Joined: Dec 2002
Posts: 3
Malaysia, South East Asia
A
angah Offline OP
Self-satisified door
angah  Offline OP
Self-satisified door
A

Joined: Dec 2002
Posts: 3
Malaysia, South East Asia
I suggest that the next version of mirc can be added with For Loops and Hash Table can support much more column so that it can be a Multiple Dimension Array. I think, scripting is much much more easier and fun if this function added. So what do you think? :tongue:

Re: Multiple Dimension Array and For Loop #455
09/12/02 07:18 PM
09/12/02 07:18 PM
Joined: Dec 2002
Posts: 12
S
Sartan Offline
Pikka bird
Sartan  Offline
Pikka bird
S

Joined: Dec 2002
Posts: 12
I definately agree with the multiple "column" feature. I cannot agree with you more. On a number of occasions i've had to write stupid crap with stupid item names. For example my fserve -> $hget(settings,trigger|i_think_your_mom_likes_me) =c:\games could be $hget(settings,trigger,i think your mom likes me) = C:\games. I realize this is a very trivial effort. Khaled i understand how difficult this would be to code, but it would be absolutely glorious.
--Other scripters - i realize there are workarounds to problems just like this, but.. Wouldn't it be nice?

Re: Multiple Dimension Array and For Loop #456
09/12/02 11:21 PM
09/12/02 11:21 PM
Joined: Dec 2002
Posts: 266
Australia
Z
zack Offline
Fjord artisan
zack  Offline
Fjord artisan
Z

Joined: Dec 2002
Posts: 266
Australia
I think perhaps turning hash tables into actual databases, the whole 'idea' behind them. Files, tables, columns, fields, records :-)
This will solve the 'column' idea, and will provide a stronger programming sense, a more c++ feeling :-)


You won't like it when I get angry.
Re: Multiple Dimension Array and For Loop #457
09/12/02 11:25 PM
09/12/02 11:25 PM
Joined: Dec 2002
Posts: 266
Australia
Z
zack Offline
Fjord artisan
zack  Offline
Fjord artisan
Z

Joined: Dec 2002
Posts: 266
Australia
About the for loop, though there are easy work arounds, if this was implemented it would prove to be a faster work around for loops. Now when you have to semi use a while loop to best efficently perform this function.


You won't like it when I get angry.