Difference between revisions of "var.unmonitor"
Jump to navigation
Jump to search
Jimbauwens (talk | contribs) (Created page with "var.'''unmonitor''' is a function that is part of the Var Library. <br> This function turns off monitoring of a variable (given in the arguments). == Syntax == var.'...") |
Jimbauwens (talk | contribs) |
||
Line 27: | Line 27: | ||
== See also == | == See also == | ||
+ | *[[var.monitor]]<br> | ||
+ | *[[on.varChange]]<br> | ||
*[[var.list]]<br> | *[[var.list]]<br> | ||
*[[var.recall]]<br> | *[[var.recall]]<br> | ||
*[[var.recallstr]]<br> | *[[var.recallstr]]<br> | ||
− | *[[var.store | + | *[[var.store]]<br> |
− | |||
[[Category:var]] | [[Category:var]] |
Latest revision as of 13:38, 1 June 2011
var.unmonitor is a function that is part of the Var Library.
This function turns off monitoring of a variable (given in the arguments).
Syntax
var.monitor(varname)
disables monitoring of the variable varname (must be a string).
Example
function on.create()
var.monitor("sol")
--turn monitoring on for the variable "sol"
end
function on.varChange(list)
--The variable got changed
var.unmonitor("sol")
--Turn the monitoring off
return 0 -- allow the change
end