Difference between revisions of "ScriptPath"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function ScriptPath: AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the path to the f...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
function ScriptPath: AnsiString;
+
function ScriptPath: string;
 
</source>
 
</source>
  
Line 18: Line 18:
  
 
==See Also==
 
==See Also==
 +
*[[ScriptFile]]
 +
*[[WorkspacePath]]
 
*[[IncludesPath]]
 
*[[IncludesPath]]
 
*[[LogsPath]]
 
*[[LogsPath]]

Latest revision as of 14:39, 4 April 2012

Definition

function ScriptPath: string;

Availability

SCAR Divi 3.00 > Current

Description

Returns the path to the folder containing the script.

Example

begin
  WriteLn(ScriptPath);
end.

See Also