How to loop through a folders contents?

BlitzMax Forums/BlitzMax Beginners Area/How to loop through a folders contents?

Hi,

I would like to loop through a folder's contents and retrieve a list of file names. Could you please give me some tips? There doesn't seem to be any example code...


Thanks!

Do it the same as you would in BB3D:
http://www.blitzbasic.com/b3ddocs/command.php?name=NextFile&ref=2d_cat

Thanks beaks