NextDirectoryEntry()

Syntax

Result = NextDirectoryEntry()

Description

This command must be called after an ExamineDirectory(). It will go step by step into the directory and list its content. The entry name can be get with the DirectoryEntryName()command. The 'Result' can take the following values:

0: no more entry in the directory
1: this entry is a file
2: this entry is a directory

Supported OS

Windows, AmigaOS, Linux

FileSystem - Index