FORMULA LANGUAGE
This example assigns the numeric value 1 to the temporary variable n.
n := 1
This example increments the temporary variable n by 1.
n := n + 1
This example assigns the text value "London" to the temporary variable city1.
city1 := "London"
The variable may be preceded by the reserved word DEFAULT, ENVIRONMENT, or FIELD. A variable not preceded by a reserved word is a temporary variable.
An assignment statement can be nested in an operation. The following example assigns "London" to the variable city1 as well as the value "LONDON" to city1Upper:
@If(hotel="";"";"She spent " + @Text(each) + " per night and " + all + " in total on accommodations during the trip.")
Note Nesting assignment statements is new with Release 6.
See Also