read_dir

Syntax

native read_dir(const dirname[],pos,output[],len,&outlen);

Description

Reads content from directory.
Returns index of next element or 0 when end of dir. is reached.