Pascal Scripting: FileSearch

Prototype:

function FileSearch(const Name, DirList: string): String;

Description:

Searches through the directories passed in DirList for a file named Name. DirList should be directory names separated by semicolons. If FileSearch locates a file matching Name, it returns a string containing a fully-qualified path name for that file. If no matching file exists, FileSearch returns an empty string.