Page 1 of 1

Ending recursion

Posted: 23 Jul 2008 23:29
by serendipity
I see that if by mistake I end up in a never ending loop using a script I can press and hold escape to end that loop. Was this intended or I just found something new. In any case I like it. :)

Re: Ending recursion

Posted: 23 Jul 2008 23:31
by admin
serendipity wrote:I see that if by mistake I end up in a never ending loop using a script I can press and hold escape to end that loop. Was this intended or I just found something new. In any case I like it. :)
Don't know. Give an example.

Posted: 24 Jul 2008 00:12
by serendipity
Ok, just made-up one to move to next tab:

Code: Select all

"Cycle Tabs Forward : ctf"
 #1018; 
 sub ctf
this sets the loop (when recursion checker is off).
Now you can press and hold escape to end loop.

Posted: 24 Jul 2008 00:38
by jacky
I think that's intended, at least I always thought it was...

Posted: 24 Jul 2008 03:50
by serendipity
jacky wrote:I think that's intended, at least I always thought it was...
Yeah, I thought the same too when i saw this happening. Its actually useful in case of accidental loops.

Posted: 24 Jul 2008 07:16
by admin
serendipity wrote:
jacky wrote:I think that's intended, at least I always thought it was...
Yeah, I thought the same too when i saw this happening. Its actually useful in case of accidental loops.
Yes, true. Had been added already in v6.80.0007 - 2008-01-10 11:24.

Code: Select all

    + Scripting: Now you can terminate a running script by pressing ESC. 
      The next to follow functions will not be executed anymore.
So you can even stop a non-recursing script by ESC.

Posted: 24 Jul 2008 16:25
by serendipity
Oh ok, so we always had the safety belt.