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/0207:18 PM09/12/0207:18 PM
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/0211:21 PM09/12/0211:21 PM
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/0211:25 PM09/12/0211:25 PM
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.