Sign in Join
FPDoc Onlineexperiment

FindNext procedure

In unit Dos

Find next matching file after FindFirst.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.