FileExists

From SCAR Divi Manual
Revision as of 13:54, 1 July 2011 by Freddy (talk | contribs) (Description)
Jump to: navigation, search

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

See Also