Changes

Jump to navigation Jump to search

var.monitor

81 bytes added, 15:07, 2 November 2011
Line 3: Line 3:  
<br>  
 
<br>  
   −
This function turns on monitoring of a variable (given in the arguments). When another script/program modifies the variable it will trigger on.varChange.<br>  
+
This function turns on monitoring of a variable (given in the arguments). When another script/program modifies the variable it will trigger [[on.varChange|on.varChange]].<br>  
    
== Syntax  ==
 
== Syntax  ==
   −
var.'''monitor(varname)'''<br> starts monitoring the variable varname (must be a string).  
+
var.'''monitor(varname)'''<br> starts monitoring the variable varname (must not be of an exotic type or it will return an error).<br />
 +
See example below.
    
== Example  ==
 
== Example  ==

Navigation menu