Difference between revisions of "Category:var"

From Inspired-Lua Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
'var' functions allows the script to interact with BASIC variables.
 +
 
== Quick Overview  ==
 
== Quick Overview  ==
  
Line 4: Line 6:
 
*[[var.monitor]](name) - Turns on monitoring of the math variable with given ''name''.  
 
*[[var.monitor]](name) - Turns on monitoring of the math variable with given ''name''.  
 
*[[var.unmonitor]](name) - Turns off monitoring of the math variable with given ''name''.  
 
*[[var.unmonitor]](name) - Turns off monitoring of the math variable with given ''name''.  
 +
*[[var.makeNumericList]](name) : Creates a list in the symbol table with the given ''name'', which is optimized to hold numeric values.
 
*[[var.recall]](name) : Returns the value of a math variable with the given ''name''.  
 
*[[var.recall]](name) : Returns the value of a math variable with the given ''name''.  
*[[var.recallstr]](name) : Returns the value of a math variable with the given ''name'' as a string.  
+
*[[var.recallAt]](name, col [,row]) : Recalls a value from a cell of a list or matrix in the symbol table.
 +
*[[var.recallstr]](name) : Returns the value of a math variable with the given name as a string.  
 
*[[var.store]](name, value) : Stores ''value'' as a math variable with the given ''name''.
 
*[[var.store]](name, value) : Stores ''value'' as a math variable with the given ''name''.
 +
*[[var.storeAt]](name, numericValue, col [,row]) : Stores a numeric value into an element of a math list or matrix with the given ''name''.

Latest revision as of 20:33, 7 May 2014

'var' functions allows the script to interact with BASIC variables.

Quick Overview

  • var.list() - Lists of names of variables currently used.
  • var.monitor(name) - Turns on monitoring of the math variable with given name.
  • var.unmonitor(name) - Turns off monitoring of the math variable with given name.
  • var.makeNumericList(name) : Creates a list in the symbol table with the given name, which is optimized to hold numeric values.
  • var.recall(name) : Returns the value of a math variable with the given name.
  • var.recallAt(name, col [,row]) : Recalls a value from a cell of a list or matrix in the symbol table.
  • var.recallstr(name) : Returns the value of a math variable with the given name as a string.
  • var.store(name, value) : Stores value as a math variable with the given name.
  • var.storeAt(name, numericValue, col [,row]) : Stores a numeric value into an element of a math list or matrix with the given name.

Pages in category "var"

The following 10 pages are in this category, out of 10 total.