FileExists

From SCAR Divi Manual
Revision as of 12:54, 1 July 2011 by Freddy (talk | contribs) (Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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