Script Recursion: minimum stack depth for warnings
Posted: 16 Apr 2008 14:08
Okay, so I'm sure conditions & loops are coming in scripting 2.0, but in the mean time I'm already trying to get myself some scripts that do work kinda the same, and if for conditions so far I'm good, I think I may have find something that would work for me for loops as well, but because of the (annoying) warning message I get each time ("The current script appears to be recursive. The stack depth is n.") it kinda defeats the purpose.
And so I was wondering if there could be a little thing, either INI Tweak or (better) script command, so that I could define the value (of stack depth) after which XY should start warning me. In other words, right now it's either 1 or 2, depending on how you look at it, and I'd like to be able to put that number higher, so that my script can call itself as many times as I need it to call itself without the recurring popups ?
Even some "unofficial"/undocumented script command that would temporary (for the current script batch) change that value would be enough, I could even set it exactly as high as it needs to be then.
That'd be really cool
Thanks.
And so I was wondering if there could be a little thing, either INI Tweak or (better) script command, so that I could define the value (of stack depth) after which XY should start warning me. In other words, right now it's either 1 or 2, depending on how you look at it, and I'd like to be able to put that number higher, so that my script can call itself as many times as I need it to call itself without the recurring popups ?
Even some "unofficial"/undocumented script command that would temporary (for the current script batch) change that value would be enough, I could even set it exactly as high as it needs to be then.
That'd be really cool