Difference between revisions of "FileExists"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function FileExists(FileName: string): Boolean; </source> ==Availability== SCAR Divi 3.25 > Current ==Description== This func...")
(No difference)

Revision as of 08:54, 28 June 2011

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