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 == |