why use recursion when a simple loop will do. Loops are always faster than recursion (and less memory/stack intensive too).
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,953 posts
since Aug 2005