WHy was my post deleted.... Scanning Directory

BlitzMax Forums/BlitzMax Beginners Area/WHy was my post deleted.... Scanning Directory

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well it gives the subdirectories on mine. It doesnt "scan" the subdirectories, but the you havent any code to do that, so you probably know that already.

You want to make it a function containing your repeat loop, that accepts a "dir handle" as its paramater (dir in you example), (Or just pass the path).
Then when you find a subdirectory, (pass the path or), Make it current, and pass that handle to itself. If you keep a Global in the function which keeps a track of how "deep" you are, you can print a tab indent as well