Section 3.1 3. Section 3.2 4. Section 3.3 7. Discuss this story in the Developer Center Forum . The assignment operator is used to assign a value to a variable.
Short assignments refer to value assignments where a calculation precedes the actual assignment.
All short assignment operations can also be presented in full-length format, in which case the normal assignment is used, where the right hand side contains an expression including a calculation. Example 3.20 shows all the short arithmetic assignment operators and their full-length equivalents. All other assignment operators are shown in Table 3.2. Ordinary WMLScript arithmetic operators, such as addition, subtraction, division and multiplication, as well as division with an integer, were used in Example 3.20. These operations are listed in Table 3.2.