MoreFiles( dirhandle )

Parameters

filehandle = valid filehandle assigned from the ReadDir command

Description

Returns true if more files are available to be read from the specified directory.

Example

;select a folder to read
folder$=CurrentDir$()

;open directory for reading
dir=ReadDir( folder$ )

;while more files in the directory...
While MoreFiles( dir )

- ;print 'em out!
- Print NextFile$( dir )

Wend

Stop

Index

Click here to view the latest version of this page online