Not in the terminology but in reading of recursive code. The process above is indeed depth-first and will recurse only to the maxDepth. The next folder at the same level will not be processed until all lower folders have been processed, and that statement is of course (recursively) true for each lower folder. Thus, depth matters, breadth is irrelevant. You can test this by walking a small tree while displaying depth and breadth in real time.
If the processing were post-order rather than pre-order then breadth would count but in Geoff's and my code it does not. I think this is where the principal confusion has arisen.
In fact, I did write exactly such a counter, just to be certain I wasn't mistaken.
regards,
Geoff Canyon [EMAIL PROTECTED]
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
