The return statement is undoubtedly the crux of the OP’s problem: as soon as the innermost occurrence returns, all of them do. This program will probably work as intended if the word return is taken out.
In reply to Re^2: Recursive Directory print
by Anonymous Monk
in thread Recursive Directory print
by zavo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |