next up previous contents index
Next: FSearch Up: Functions and Procedures Previous: FindFirst

FindNext

   

Declaration:

Procedure FindNext (var f: searchRec) ;

Description:

FindNext takes as an argument a SearchRec from a previous FindNext call, or a FindFirst call, and tries to find another file which matches the criteria, specified in the FindFirst call.

If DosError is different from zero, no more files matching the criteria were found.

Errors:

DosError is used to report errors.

See also:

FindFirst, FindClose

For an example, see FindFirst.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998