Difference between revisions of "ObjectType:lavishscript"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
== Methods ==
 
== Methods ==
 +
*'''ExecuteAtom['''name''','''...''']''': Executes an atom with the given name in global- or script-scope (if a script is currently in context).  Extra parameters are passed as parameters to the atom.
  
 
== Returns ==
 
== Returns ==

Revision as of 18:41, 23 September 2005

Description

Members

  • string Version: LavishScript version number (e.g. 1.07)
  • filepath CurrentDirectory: Current directory according to LavishScript
  • filepath HomeDirectory: Home directory according to LavishScript
  • int RunningTime: Amount of time, in milliseconds, the current application has been running. This value wraps after about 23 days of leaving the application running.

Methods

  • ExecuteAtom[name,...]: Executes an atom with the given name in global- or script-scope (if a script is currently in context). Extra parameters are passed as parameters to the atom.

Returns

Same as Version

Examples

Display LavishScript version

  • echo Version: ${LavishScript.Version}

Display current directory

  • echo Directory: ${LavishScript.CurrentDirectory}

Display amount of time application has been running

  • echo Time running: ${LavishScript.RunningTime}

See Also