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.

Parameters

#Directory The directory examined with ExamineDirectory()

Return value

Returns nonzero if a new entry was read from the directory and zero if there are no more entries.

Remarks

The entry name can be read with the DirectoryEntryName() function. If you want to know whether an entry is a subdirectory or a file, use the DirectoryEntryType() function.

See Also

ExamineDirectory(), DirectoryEntryType(), DirectoryEntryName(), DirectoryEntrySize(), DirectoryEntryAttributes(), DirectoryEntryDate()

Supported OS

All

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