FileExists

From SCAR Divi Manual
Jump to: navigation, search

Definition

function FileExists(FileName: string): Boolean;

Availability

SCAR Divi 3.25 > Current

Description

Returns true if a file exists at the path specified by FileName.

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

See Also