Difference between revisions of "ISInterface:GetScriptCWD"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Purpose ==
 
== Purpose ==
 +
Retrieves the current working directory for a given script
  
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
 +
*char *ScriptName
 +
: Name of the script
 +
*char *buffer
 +
: Buffer to place the path in
 +
*unsigned long buflen
 +
: Size of the buffer
 +
 
=== Return Value ===
 
=== Return Value ===
 +
*bool
 +
: Returns true if the function succeeded.  The function will fail if the specified script does not exist
  
 
== Examples ==
 
== Examples ==

Revision as of 01:56, 23 July 2005

Purpose

Retrieves the current working directory for a given script

Usage

Parameters

  • char *ScriptName
Name of the script
  • char *buffer
Buffer to place the path in
  • unsigned long buflen
Size of the buffer

Return Value

  • bool
Returns true if the function succeeded. The function will fail if the specified script does not exist

Examples

See Also