What are the standard libraries used by WMLScripts?

What are the standard libraries used by WMLScripts?



- The standard libraries are used for inbuilt functions and there usage that provides a way to use all that in the programming.

- The standard libraries that exist are as follows:

- Lang: this is the library that provides the support for different language functions that are related to the WMLScript core language.
> The functions that are used as follows: abs(),abort(), characterSet(),float(), isFloat(), isInt(), etc.

- Float: this is the library that allows the built-in functions to perform the floating point operations.
> The functions that are uses as follows: sqrt(), round(), pow(), ceil(), floor(), int(), maxFloat(), minFloat()

- String: it is the library that provides the functions for creation and manipulation of strings.
> The functions that are uses as follows: length(), charAt(), find(), replace(), trim(), compare(), format(), etc.

- URL: this is the library that is used to provide the URL’s for manipulation and consists of the functions like: getPath(), getReferer(), getHost(), getBase(), escapeString(), isValid(), etc.

- WMLBrowser: this consists of the libraries that used to provide the group of functions controlling the data on the browser by using the functions like: go(), prev(), next(), etc.

- Dialogs: this is the library consisting of the user interface and related functions like: prompt(), confirm(), alert()
Post your comment