View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Auric__ Auric__ is offline
external usenet poster
 
Posts: 538
Default 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*