[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Check whether a file exists in the filesystem.
Source position: filutilh.inc line 81
function FileExists( |
const FileName: String |
):Boolean; |
FileExists returns True if a file with name FileName exists on the disk, False otherwise.
None.
|
Return the timestamp of a file. |
|
|
Return attributes of a file. |
|
|
Set the attributes of a file. |
Program Example38; { This program demonstrates the FileExists function } Uses sysutils; Begin If FileExists(ParamStr(0)) Then Writeln ('All is well, I seem to exist.'); End.