Top  >  Lycia reference  >  Querix 4GL  >  Classes and Methods  >  os.Path methods  >  os.Path.dirnext()

os.Path.dirnext

The purpose of os.Path.dirnext method is reading the next entry in the directory. The syntax of its invocation is as follows:

 

CALL os.Path.dirnext(dir_handle) RETURNING dir_entry

 

where:

·         dir_handle = a variable of INTEGER data type that stands for the directory handle of the directory to be read,

·         dir_entry = a variable of STRING data type that stands either for the name of the entry read or for NULL in case all of theentries have been read.