Ending recursion
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Ending recursion
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. 
-
admin
- Site Admin
- Posts: 66074
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Ending recursion
Don't know. Give an example.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.
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Ok, just made-up one to move to next tab:
this sets the loop (when recursion checker is off).
Now you can press and hold escape to end loop.
Code: Select all
"Cycle Tabs Forward : ctf"
#1018;
sub ctfNow you can press and hold escape to end loop.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
-
admin
- Site Admin
- Posts: 66074
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yes, true. Had been added already in v6.80.0007 - 2008-01-10 11:24.serendipity wrote:Yeah, I thought the same too when i saw this happening. Its actually useful in case of accidental loops.jacky wrote:I think that's intended, at least I always thought it was...
Code: Select all
+ Scripting: Now you can terminate a running script by pressing ESC.
The next to follow functions will not be executed anymore.FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
XYplorer Beta Club