mIRC Homepage
Posted By: Infernal_Demon Goto bug - 14/04/04 01:18 AM
Inside a while loop I have an identifier that returns some text, in this identifier I sometimes call a goto and when I do I get

/goto: 'merda' not found (line 102, script.mrc)

But if I call the identifier alone, like
echo -s $bla(asass)
it will return the text with no error.
This only happens because I call the identifier from inside a while loop

Is this a bug or what?
Posted By: starbucks_mafia Re: Goto bug - 14/04/04 01:24 AM
Not getting any errors here, could you post a small sample of code that produces the bug?
Posted By: Infernal_Demon Re: Goto bug - 14/04/04 01:36 AM
Sure I can, hereĀ“s the code:

while (%_ < %n) {
.fwrite bla $s_($line(%w,%_)) $+ $lf
inc %_
}

and then on this ident I have the goto. It works great if I just call it alone.

Like if I do //echo -s $s_(bla) it does great.


I am going to change this and see if this works out of the while smile
© mIRC Discussion Forums