NextDirectoryEntry()

Syntax

Result = NextDirectoryEntry(#Directory)
Description
This function must be called after an ExamineDirectory(). It will go step by step into the #Directory and list its contents.

The entry name can be get with the DirectoryEntryName() function. If you want to know whether an entry is a sub-directory or a file, just use the DirectoryEntryType() function.

If no more entries are available in the directory, 'Result' will be 0, else it will be non null.

Supported OS

All

<- IsDirectory() - FileSystem Index - RenameFile() ->