O'Reilly logo

Learning WML, and WMLScript by Martin Frost

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

exit — Stop execution of the WMLScript interpreter (normal)

Usage

Lang.exit(value)

value : Anything

Description

Exits from the WMLScript interpreter and returns value to whatever caused the interpreter to be run (such as the WML browser). This function never returns to the WMLScript code.

If WMLScript is invoked from WML, as is currently the only way, this exit value is ignored.

Examples

Lang.exit("foo")
Lang.exit(invalid)
Lang.exit(6.7)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required