PreviousNext
Help > REFERENCE OF THE BUILT-IN FUNCTIONS > Files and File Storage Devices > fnext
fnext

Format:

text= fnext;

Return the name of the next file that is matching the specified pattern given in the last executed ffirst(). If there are no matching files, a blank string is returned.

 

The ffirst/fnext pair of functions are allocated and maintained individually for each parallel process in order to avoid cross-process confusions.

If fnext() is executed without a preceding ffirst(), the behaviour is undefined.