Difference between revisions of "FileExists"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function FileExists(FileName: string): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== This func...") |
(→Description) |
||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | + | Returns [[true]] if a file at the path specified by '''FileName''' exists. | |
==Example== | ==Example== |
Revision as of 12:54, 1 July 2011
Definition
function FileExists(FileName: string): Boolean;
Availability
SCAR Divi 3.25 > Current
Description
Returns true if a file at the path specified by FileName exists.
Example
begin if FileExists('scar.exe') then WriteLn('scar.exe exists in SCAR''s root folder'); end.
Output:
scar.exe exists in SCAR's root folder