mIRC Home    About    Download    Register    News    Help

Print Thread
#79183 14/04/04 01:18 AM
Joined: Dec 2002
Posts: 56
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 56
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?

#79184 14/04/04 01:24 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Not getting any errors here, could you post a small sample of code that produces the bug?


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#79185 14/04/04 01:36 AM
Joined: Dec 2002
Posts: 56
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 56
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


Link Copied to Clipboard