WAP-193 101-Wmlscript-20010928

WAP-193 101-Wmlscript-20010928

Specification Information Note WAP-193_101-WMLS-20010928-a Version 28-Sept-2001 for Wireless Application Protocol WAP-193-WMLS-20001025-a WMLScript Specification Version 25-Oct-2000 A list of errata and updates to this document is available from the WAP Forum TM Web site, http://www.wapforum.org/, in the form of SIN documents, which are subject to revision or removal without notice. © 2001, Wireless Application Forum, Ltd. All rights reserved. Terms and conditions of use are available from the WAP ForumÔ Web site at http://www.wapforum.org/what/copyright.htm. You may use this document or any part of the document for internal or educational purposes only, provided you do not modify, edit or take out of context the information in this document in any manner. You may not use this document in any other manner without the prior written permission of the WAP Forum™. The WAP Forum authorises you to copy this document, provided that you retain all copyright and other proprietary notices contained in the original materials on any copies of the materials and that you comply strictly with these terms. This copyright permission does not constitute an endorsement of the products or services offered by you. The WAP Forum™ assumes no responsibility for errors or omissions in this document. In no event shall the WAP Forum be liable for any special, indirect or consequential damages or any damages whatsoever arising out of or in connection with the use of this information. WAP Forum TM members have agreed to use reasonable endeavors to disclose in a timely manner to the WAP Forum the existence of all intellectual property rights (IPR’s) essential to the present document. The members do not have an obligation to conduct IPR searches. This information is publicly available to members and non-members of the WAP Forum and may be found on the “WAP IPR Declarations” list at http://www.wapforum.org/what/ipr.htm. Essential IPR is available for license on the basis set out in the schedule to the WAP Forum Application Form. No representations or warranties (whether express or implied) are made by the WAP Forum TM or any WAP Forum member or its affiliates regarding any of the IPR’s represented on this list, including but not limited to the accuracy, completeness, validity or relevance of the information or whether or not such rights are essential or non-essential. This document is available online in PDF format at http://www.wapforum.org/. Known problems associated with this document are published at http://www.wapforum.org/. Comments regarding this document can be submitted to the WAP Forum™ in the manner published at http://www.wapforum.org/. WAP -193_101-WMLS-20010928-a, version 28-Sept-2001 Page 3(132) Contents 1. Scope ................................................................................................................................................9 2. Document Status ............................................................................................................................10 2.1 Copyright Notice.......................................................................................................................10 2.2 Errata........................................................................................................................................10 2.3 Comments................................................................................................................................10 2.4 Document Changes .................................................................................................................10 2.4.1 WAP-193 24-Mar-2000 ...................................................................................................10 2.4.2 WAP-193 25-Sep-2000..................................................................................................10 2.4.3 WAP-193 28-Sep-2001.....................................................................................................10 2.5 Document History.....................................................................................................................11 3. References......................................................................................................................................12 3.1 Normative references ...............................................................................................................12 3.2 Informative References ............................................................................................................12 4. Definitions and abbreviations ..........................................................................................................13 4.1 Definitions .................................................................................................................................13 4.2 Abbreviations ............................................................................................................................14 5. Overview .........................................................................................................................................15 5.1 Why Scripting? .........................................................................................................................15 5.2 Benefits of using WMLScript....................................................................................................15 6. WMLScript Core..............................................................................................................................16 6.1 Lexical Structure.......................................................................................................................16 6.1.1 Case Sensitivity.................................................................................................................16 6.1.2 Whitespace and Line Breaks ............................................................................................16 6.1.3 Usage of Semicolons ........................................................................................................16 6.1.4 Comments ........................................................................................................................17 6.1.5 Literals ...............................................................................................................................17 6.1.5.1 Integer Literals ...............................................................................................................17 6.1.5.2 Floating-Point Literals ....................................................................................................18 6.1.5.3 String Literals.................................................................................................................18 6.1.5.4 Boolean Literals .............................................................................................................19 6.1.5.5 Invalid Literal ..................................................................................................................19 6.1.6 Identifiers ...........................................................................................................................20 6.1.7 Reserved Words ...............................................................................................................20 6.1.8 Name Spaces ...................................................................................................................21 6.2 Variables and Data Types ........................................................................................................21 6.2.1 Variable Declaration ..........................................................................................................21 6.2.2 Variable Scope and Lifetime .............................................................................................21 6.2.3 Variable Access ................................................................................................................22 6.2.4 Variable Type.....................................................................................................................22 6.2.5 L-Values ............................................................................................................................22 6.2.6 Type Equivalency..............................................................................................................23 6.2.7 Numeric Values .................................................................................................................23 6.2.7.1 Integer Size....................................................................................................................23 6.2.7.2 Floating-point Size.........................................................................................................23 6.2.8 String Values .....................................................................................................................24 6.2.9 Boolean Values .................................................................................................................24 6.3 Operators and Expressions .....................................................................................................24 6.3.1 Assignment Operators......................................................................................................24 © Wireless Application Protocol Forum, Ltd, 2000,2001 All rights reserved. WAP -193_101-WMLS-20010928-a, version 28-Sept-2001 Page 4(132) 6.3.2 Arithmetic Operators.........................................................................................................25

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    136 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us