>Jim,
>As many already said you can do that, however you're right to a point, should you do that:) I tend not to create recursive functions if I can create one that's not recursive (and almost all the time I find a non-recursive one). IMHO recursive code is easier to write but is evil. With recursion you should be very carefull not to overflow stack space and/or nesting levels.
>PS: Maybe a perception but looks like generally non-recursive code is faster.
>Cetin
Both points are correct. In some cases, however, it's very hard to write a non-recursive code. However, each recursive problem has non-recursive solution.
If it's not broken, fix it until it is.
My Blog