From http://www.w3schools.com (Copyright Refsnes Data)

WMLScript setVar() Function


WMLScript WMLBrowser Library Complete WMLScript WMLBrowser Library

The setVar() function sets the value of the specified variable in the browser context, and returns true if the new value where implemented successfully, and false if not

Syntax

n = WMLBrowser.setVar(variable, value)

Part Description
n The boolean value returned from the function
variable A string
value A string

Example

var a = WMLBrowser.setVar("weeks", 34);

Result

a = true


WMLScript WMLBrowser Library Complete WMLScript WMLBrowser Library

From http://www.w3schools.com (Copyright Refsnes Data)