WMLScript exit() Function

The exit() function exits WMLScript and returns a message to the caller of the script.

Syntax

Lang.exit(value)
Component Description
value Any value.

Example

Lang.exit("Value is 500");

Result

Script ends, the value "Value is: 500" is returned to the caller of the script.