qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FindNext Procedure
  Summary Details Example                                   Back
 
  Argument
 
    result    Record variable of type SearchRec; specifies search
              pattern and attributes, and receives result
 
  Description
 
    The FindNext procedure looks for the next occurrence of a file
    matching the specification set by a previous call to FindFirst. Use
    FindNext together with FindFirst to find all occurrences of files
    matching a specified pattern and attributes. FindFirst fills the
    result argument with the search results. FindNext searches for the
    next file based on the contents of result.
 
    The result argument must be a record of type SearchRec, defined
    in the Dos unit, and must have been previously passed to FindFirst.
 
    FindNext reports error conditions in DosError, defined in the Dos
    unit. The only possible error value is 18, "no more files."