FileExists
From SCAR Divi Manual
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