NextDirectoryEntry()

语法

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

参数

#Directory The directory examined with ExamineDirectory()

返回值

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.

参阅

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

已支持操作系统

所有

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