WMLScript
WMLScript is a procedural programming language and dialect of JavaScript used for WML pages that is part of the Wireless Application Protocol (WAP), and was published on April 30, 1998. WMLScript is a client-side scripting language and is similar to JavaScript. Similarly to JavaScript, WMLScript is used for tasks such as user input validation, generation of error messages, and other dialog boxes. WMLScript is based on ECMAScript (European Computer Manufacturers Association Script), which is JavaScript's standardized version. Thus, the syntax of WMLScript is similar to JavaScript, but not fully compatible. WMLScript does not have objects or arrays like Javascript does. It does allow the programmer to declare and include external functions from other scripts. WMLScript is optimized for low power consumption and is compiled with bytecode. Some versions of WMLScript include 1.0, which was the launch version from April 30, 1998; 1.1, which released on June 16th, 1999 and brought some minor enhancements; 1.2 was released in June 2000, but is less documented and lacks a more specific publication date. On October 25, 2001, a consolidated version of WMLScript was released, and unified all versions: this was not a new version, it only standardized formatting and unified the specification.…
WMLScript is a procedural programming language and dialect of JavaScript used for WML pages that is part of the Wireless Application Protocol (WAP), and was published on April 30, 1998. WMLScript is a client-side scripting language and is similar to JavaScript. Similarly to JavaScript, WMLScript is used for tasks such as user input validation, generation of error messages, and other dialog boxes. WMLScript is based on ECMAScript (European Computer Manufacturers Association Script), which is JavaScript's standardized version. Thus, the syntax of WMLScript is similar to JavaScript, but not fully compatible. WMLScript does not have objects or arrays like Javascript does. It does allow the programmer to declare and include external functions from other scripts. WMLScript is optimized for low power consumption and is compiled with bytecode. Some versions of WMLScript include 1.0, which was the launch version from April 30, 1998; 1.1, which released on June 16th, 1999 and brought some minor enhancements; 1.2 was released in June 2000, but is less documented and lacks a more specific publication date. On October 25, 2001, a consolidated version of WMLScript was released, and unified all versions: this was not a new version, it only standardized formatting and unified the specification. Additionally, there is a disputed 1.3 version that was not officially released or standardized by the OMA, but appears in some third party sources. WMLScript needs to be called by a WML or element to run inside the document you want, because it lacks page load features that languages like JavaScript have. Run WMLScript $(message) And the contents of that .wmls document are: extern function helloWorld() { WMLBrowser.setVar("message", "Hello World."); //Sets variable "message" to "Hello World." WMLBrowser.refresh(); // Refreshes the WML document to display the new message } ==References==
References
No reference rows published for this article.
Cite this article
MLA
"WMLScript." encyclopegia.org, 2026, https://encyclopegia.org/wiki/wmlscript. Accessed 24 November 2026.
Chicago
"WMLScript." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/wmlscript.
APA
encyclopegia.org. (2026). WMLScript. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/wmlscript
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 1998-04-30 | Wikipedia |
| release date | 1999 | Wikipedia |