Thread: Recursive Subs?
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Kevin Beckham Kevin Beckham is offline
external usenet poster
 
Posts: 78
Default Recursive Subs?

They are generally used when you don't know in advance how
big your loop size is
and have problems defining an efficient loop structure.
For an example, see my posting today
delete folder Feb 4 2004 8:55AM

There are some problems for which recursion is the more
elegant apppoach (e.g. code readability)
but "Out of stack space" can be a problem if the stack
space is unduly constrained.

Kevin Beckham

-----Original Message-----
Can someone explain to me what recursive subs do. Mu

understanding is
that it is a sub that in effect calls itself. Why would

you ever need
this? What woudl be an example of this?


---
Message posted from http://www.ExcelForum.com/

.