How to disable the 'script appears to be recursive' warning?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
nf_xp
Posts: 35
Joined: 10 Jul 2009 08:05

How to disable the 'script appears to be recursive' warning?

Post by nf_xp »

How to disable the 'The current script appears to be recursive.' warning?
I wrote a script that means to loop through folders, but this warning popped up every recursion and interrupted the execution. Is there any way to disable it?

I was using some code like this:

Code: Select all

"_func"
   ...
   sub "_func"
   ...
Thanks!

Pagat
Posts: 306
Joined: 09 Oct 2007 21:23
Location: Austria

Re: How to disable the 'script appears to be recursive' warning?

Post by Pagat »

To switch off the recursion checker look here:

http://88.191.26.34/XYwiki/index.php/IN ... hecker_Off

nf_xp
Posts: 35
Joined: 10 Jul 2009 08:05

Re: How to disable the 'script appears to be recursive' warning?

Post by nf_xp »

Thanks!

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: How to disable the 'script appears to be recursive' warning?

Post by jacky »

Or, if you want to only disable it for this script only, you can use the command setting:

Code: Select all

setting 'AllowRecursion', 1;
Proud XYplorer Fanatic

Post Reply