Run-Time Function: Searches for a specified file in the directories listed in the path contained in the environment variable.
Module: USE DFLIB
Syntax
Results:
The result is of type INTEGER(4). The result is the length of the string containing the full path of the found file returned in pathbuf, or 0 if no file is found.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: FULLPATHQQ, GETFILEINFOQQ, SPLITPATHQQ
Example
USE DFLIB
CHARACTER(256) pathname
INTEGER(4) pathlen
pathlen = FINDFILEQQ("libfmt.lib", "LIB", pathname)
WRITE (*,*) pathname
END