Difference between revisions of "ScriptPath"

From SCAR Divi Manual
Jump to: navigation, search
 
(One intermediate revision 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]]
 
*[[WorkspacePath]]
 
*[[IncludesPath]]
 
*[[IncludesPath]]

Latest revision as of 15: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