Difference between revisions of "DirectoryExists"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function DirectoryExists(Directory: string): Boolean; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Retu...") |
(No difference)
|
Revision as of 12:54, 1 July 2011
Definition
function DirectoryExists(Directory: string): Boolean;
Availability
SCAR Divi 3.00 > Current
Description
Returns true if a directory at the path specified by FileName exists.
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