Infinite script recursion (250 calls) detected - how to bypass it?

One way around this without an engine modification is to duplicate your recursive function, if original function is recursive1 then name duplicate e.g. recursive2 now from recursive1 call recursive2 and from recursive2 call recursive1.

No more warnings generated (and no more performance hit from generating that warning message).

1 Like