help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Dos' (#rtl)

FindNext

Find next matching file after FindFirst

Declaration

Source position: dosh.inc line 110

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.

For an example, see FindFirst.

Errors

DosError is used to report errors.

See also

FindFirst

  

Start search for one or more files.

FindClose

  

Dispose resources allocated by a FindFirst/FindNext sequence.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505