March 2002
Intermediate to advanced
400 pages
7h 56m
English
Operators are used to compare some type of condition with a variable and then evaluate a value as directed by the expression. WMLScript enables several operator types. The following is a list of operators provided with WMLScript:
Assignment operators
Arithmetic operators
Logical operators
String operators
Comparison operators
Array operators
Comma operators
Conditional operators
typeof operators
isvalid operators
Assignment operators are useful for setting variables to some value. Table B.4 lists the WMLScript assignment operators.
| Operation | WMLScript Operator |
|---|---|
| Assign. | = |
| Add (numbers)/concatenate (strings) and assign. | += |
| Subtract and assign. | -= |
| Multiply and assign. ... |
Read now
Unlock full access