in reply to Re: Misunderstanding Recursion
in thread Misunderstanding Recursion

Instead you appear to be modifying global variables. In fact, it doesn't really look like a "traditional" recursive algorithm at all.

In which case, if one really needed to do so, then it may be better to use magic goto rather than standard sub call.