FileExists

From SCAR Divi Manual
Revision as of 08:54, 28 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function FileExists(FileName: string): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== This func...")
(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

This function checks whether 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