ArcBasicDocs

ReadDir

Opens a folder for listing.

ReadDir ( folder$ )

Parameters

folder$
the folder to list.

Description

Opens a folder to list what is in it, and gives back a handle for NextFile, or 0 if there is no such folder. The list starts with "." and "..", the folder itself and the one above it, followed by its files and folders in alphabetical order.

In ArcBasic

In a game made with Create Executable, a folder lists everything in it: the files packed with the game and the files the game has saved, together.

See also