You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Variable Library > monitor

18.3 monitor

var.monitor(name)

Turns on monitoring of the math variable with given name. When another application changes the math variable, this script application’s on.varChange handler is called. See the description of on.varChange below. Any other return value from 0 is an error value.

Introduced in platform.apiLevel = '1.0'