in reply to recursive function

When you say 'tree', does that imply something like the 'tree' command output

Something like:

Root |_next_to_root |_next_to_next_to_root ....

Along those lines? Just a little clarification please... :-)

UPDATEAssuming above is about right... Took a moment to see what search might bring up...

Here is one result. Scroll down just a bit...

Hope that is helpful...

...the majority is always wrong, and always the last to know about it...

Insanity: Doing the same thing over and over again and expecting different results...