Hello, Dear XYplorer Community!
#
On XYplorer v. 27.20.0700 (but I think the version does no matter),
I often receive a dialog window "The current script appears to be recursive. The stack size is [Nr.] .".
Situation: Two or more scripts build a chain, where the scripts call each other and must be repeated till the time comes to terminate them.
I click "Continue" or "Options / Continue Script without Stepping" and XYplorer continues till it is enougth,
the next script in the chain executes, time passes and the mentioned dialog window appears before loading the next called script again.
#
The setting Menu[Scripting / Step mode] is always turned "off".
May be, this dialog window tends to appear, if the [load "","";]-command is placed in the "if(){ }"-structure.
#
So the question is what is the definition of the script recursivity?
I did not found the answer to my question in the help file - if there is one there, please point me.
Edit 09.12.2025, 17:55:
And how can I turn off this dialog windows?
Definition of "recursive script"
-
admin
- Site Admin
- Posts: 65185
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Definition of "recursive script"
You choose:
Code: Select all
setting "allowrecursion", 1; //turn it off for the current scriptCode: Select all
settingp "allowrecursion", 1; //turn it off globally and permanentlyFAQ | XY News RSS | XY X
XYplorer Beta Club