Jump to content

WMLScript

From Wikipedia, the free encyclopedia

WMLScript is a procedural programming language and dialect of JavaScript used for WML pages that is part of the Wireless Application Protocol (WAP).

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.[1] 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 optimised for low power consumption and is a compiled language.

References

[edit]
  1. ^ "WMLScript Primer: JavaScript vs. WMLScript | WebReference". Archived from the original on December 9, 2016. Retrieved June 2, 2011.