The Conroy & Conroy Subroutine Library (2021.3 edition)

FindNext
What: integer function
File:
Layer: 1
Format: result = FindNext( Context )
Platforms: C++, C#, Pascal, PHP

This function looks up the next file matching the initial lookup done via FindFirst and sets up the context (an instance of TSearchRec). If 0 is returned, the lookup was a success, otherwise no more matches were found. For Pascal, this is only defined if the version of Pascal being used does not provide the function.

This is provided for cross-platform support only. You should use the Lookup function to iterate through files in a directory.