I'm very pleased. I am very pleased with your help. I'm completely lost in mine code. I have to say that you know recursion much better than I can. Now I'm trying to figure out why subdirectories are missing in the list of folders in the last two directories. In any case, your programs are much clearer than mine.
I didn't realize one thing. That I have written the full path in array. So I'm not going to go back one directory level, so I don't need to write down the current nesting level. Now, looking at the BPlus and Steve code, I've figured it out. It just occurred to me now. I did it absolutely wrong.
I think, maybe... see to BPlus source. To MakeTree SUB. If is this SUB recursive running, then source list of arrays is deleted in next step (in recursive call), or not?