ISInterface:GetCurrentScript

From Lavish Software Wiki
Revision as of 01:49, 23 July 2005 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

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