March 2002
Intermediate to advanced
400 pages
7h 56m
English
Statements make up the set of commands executed in WMLScript. These commands provide the functionality to an application. A statement is a set of functions or variables that evaluates to a single value. This value can be a number, string, or logical value. Table B.2 lists WMLScript’s available statements.
| Statement | Definition | Example |
|---|---|---|
| Expression | Used in all WMLScript operations that perform some sort of calculation. These statements are covered in Chapter 11. |
var message = message + "The password must be 6 digits." |
| Block | A statement that is enclosed by curly brackets. |
{
WMLBrowser.go
("login.wml#badpass");
}
|
| if | A statement that enables you to conditionally perform one of two operations. ... |
Read now
Unlock full access