Familiarizing Yourself with WMLScript Syntax
Now that you’ve seen a preview of what WMLScript can do and how to reference WMLScript from a WML file, let’s backtrack a moment and look at the syntax of the WMLScript language.
WMLSCRIPT SYNTAXIf you recall from Chapter 3, "The Wireless Markup Language (WML)," syntax is nothing more than the required structure of a programming language. For a programming language’s code to work correctly, it must first be in a required format. All languages, whether they’re spoken languages or programming languages, require structure. Think about some of the syntax rules of the English language—a period or some other punctuation mark must always end a sentence, a capital letter must always begin a sentence, ... |
Get WAP 2.0 Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.