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!