Page 1 of 1

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

Posted: 28 Aug 2009 18:40
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!

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

Posted: 28 Aug 2009 18:49
by Pagat
To switch off the recursion checker look here:

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

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

Posted: 28 Aug 2009 19:19
by nf_xp
Thanks!

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

Posted: 28 Aug 2009 19:34
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;