DirectoryExists

From SCAR Divi Manual
Revision as of 12:55, 1 July 2011 by Freddy (talk | contribs) (Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function DirectoryExists(Directory: string): Boolean;

Availability

SCAR Divi 3.00 > Current

Description

Returns true if a directory exists at the path specified by Directory.

Example

begin
  if DirectoryExists(LogsPath) then
    WriteLn('The logs folder exists in your SCAR Divi workspace');
end.

Output:

scar.exe exists in SCAR's root folder

See Also