Difference between revisions of "ObjectType:lavishscript"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
== Members ==
 
== Members ==
 
*[[DataType:string|string]] '''Version''': LavishScript version number (e.g. 1.07)
 
*[[DataType:string|string]] '''Version''': LavishScript version number (e.g. 1.07)
*[[DataType:string|string]] '''CurrentDirectory''': Current directory according to LavishScript
+
*[[DataType:filepath|filepath]] '''CurrentDirectory''': Current directory according to LavishScript
 
*[[DataType:int|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.
 
*[[DataType:int|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.
  

Revision as of 20:59, 15 September 2005

Description

Members

  • string Version: LavishScript version number (e.g. 1.07)
  • filepath CurrentDirectory: Current 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

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