os.Path.dirNext

Reads the next entry in the directory opened with os.Path.dirOpen().

Syntax

os.Path.dirNext(
   dirhandle INTEGER)
  RETURNING direntry STRING
  1. dirhandle is the directory handle of the directory to read.
  2. direntry is the name of the entry read or NULL if all entries have been read.

Usage

This function returns the next entry of the directory opened with os.Path.dirOpen().