SearchFiles procedure
Searches for files in specified paths
Declaration
procedure SearchFiles(AFileName: string; ASearchPathPrefix: string;
Recursive: Boolean; var List: TStrings)Arguments
AFileName | Filename pattern to search for |
ASearchPathPrefix | Search path prefix |
Recursive | Whether to search recursively |
List | List to store found files |
Description
SearchFiles searches for files matching a filename pattern within specified search paths.
This procedure supports recursive directory traversal and wildcard pattern matching for file discovery.
The procedure populates a provided list with all matching files found during the search, enabling file location and collection for build operations.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
