Difference between revisions of "ISInterface:GetCurrentScript"

From Lavish Software Wiki
Jump to navigation Jump to search
 
m
Line 4: Line 4:
 
== Usage ==
 
== Usage ==
 
=== Parameters ===
 
=== Parameters ===
''none'
+
''none''
 
=== Return Value ===
 
=== Return Value ===
 
* char *
 
* char *

Revision as of 01:50, 23 July 2005

Purpose

Retrieves the name of the currently executing script. Keep in mind that multiple scripts can be loaded and running, but internally, only one at a time is allowed to execute a portion. This is the one, if any, currently allowed to execute.

Usage

Parameters

none

Return Value

  • char *
Pointer to the name of the currently executing script, or 0.

Examples

if (char *ScriptName=pISInterface->GetCurrentScript())
  printf("%s is currently executing",ScriptName);

See Also