WMLScript Standard Libraries Quick Reference

The standard libraries form an important part of the WMLScript scripting language. They provide a lot of useful functions. Some of which are impossible to be implemented by our own. For example, to obtain the value of a WML variable, the only choice is to use the setVar() function of the WMLBrowser standard library. WMLScript contains six standard libraries in total. This reference provides a description for each of the functions. Plenty of example scripts are included to illustrate the usage of the functions.

Note that some functions of the standard libraries are only available on mobile devices that can perform floating-point operations. To learn the details, see "Checking Whether Mobile Devices Support Floating-point Numbers and Operations" of our WMLScript tutorial.


Table of Contents


1. WMLScript WMLBrowser Standard Library Quick Reference

WMLScript's WMLBrowser standard library provides a group of functions to control the WML browser or to get information from it.


2. WMLScript Dialogs Standard Library Quick Reference

WMLScript's Dialogs standard library contains functions for displaying alert messages, confirmation messages and input boxes to users.


3. WMLScript String Standard Library Quick Reference

WMLScript's String standard library provides various functions that help us manipulate strings.


4. WMLScript Float Standard Library Quick Reference

WMLScript's Float standard library contains functions that help us perform a number of floating-point arithmetic operations.


5. WMLScript Lang Standard Library Quick Reference

WMLScript's Lang standard library provides functions related to the WMLScript language core. It contains functions for generating random numbers, performing some arithmetic operations and dealing with data type conversion.


6. WMLScript URL Standard Library Quick Reference

WMLScript's URL standard library contains a number of functions that help us manipulate URLs.



A button for going back to the top of this page