BlitzMax Docs -> 2D - A-Z -> R -> ReadDir
ReadDir( path$ )
Returns:
An integer directory handle, or 0 if the directory does not existDescription:
Open a directoryExample:
' readdir.bmx dir=ReadDir(CurrentDir()) If Not dir RuntimeError "failed to read current directory" Repeat t$=NextFile( dir ) If t="" Exit If t="." Or t=".." Continue Print t Forever CloseDir dir
Comments
None.
BlitzMax Manual Forum
Blitz3D Equivalent Command




