Download free PDF version
WMLScript has a core group of six standard libraries. Each of the various libraries contains from three to seventeen functions that perform useful tasks related in concept to the library name. For example, the URL Standard Library contains fourteen functions that allow you to manipulate URL addresses. Also of particular interest is the WMLBrowser Standard Library which offers functions that provide an interface between WMLScript code and the associated WML code.
The six standard libraries are:
- Dialogs Library
- Float Library
- Lang Library
- String Library
- URL Library
- WMLBrowser Library
The language is also composed of several statements, such as for, if, and while, and an extensive suite of operators.
The language is case sensitive.
It is important to understand that both the WML and WMLScript languages are rather restricted in term of coding possibilities. Both languages are small in scope and diversity. This is required by the current technological limitations of the wireless protocol (constraints include memory size, processing power, and download time). Programmers accustomed to the unlimited possibilities allowed by ASP, HTML, Visual Basic, and various other technologies commonly used by developers on the wired web may find that programming in WML and WMLScript for wireless application will require a bit more forethought.