Detail of WMLScript Libraries and Their Functions

The following presents a more in-depth discussion of the functions found within their respective WMLScript Libraries. You can also check out the latest specifications of WMLScript at the WAP Forum Web site (www.wapforum.org).

The Lang Library

The Lang Library contains a number of arithmetic functions that allow for the calculation of integers. The Lang Library also contains two functions used to end the processing of an arithmetic function, as well as a function to test a device to see whether floating-point number calculations are supported (see Table C.1).

Table C.1. Lang Library Functions
Function Syntax Argument Description
abort
Lang.abort(string) 
String message. Aborts the current WMLScript ...

Get WAP 2.0 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.