Recursive To non-Recursive Procedure
Bruno Campanini wrote:
Can anybody convert this recursive procedure to a non-recursive one?
[snip]
The procedure is called, in the simplest way, with:
Call Permutation("string-to-permute").
On the one hand, yes, it can be unrolled, using some combination of control
structures.
On the other hand, *why* do you want it to be unrolled?
--
I am invincible, INVINCIBLE I say! *laughs*
|