local-name = expression
weight = 200
.
.
weight = weight+1
weight to 200. The value remains 200 until the subsequent assignment increments its value to 201. The expression can be a
call statement to a procedure that returns a value. That value is assigned to local-name:
weight = call get-weight (height)
call.
An assignment statement does not cause data-seeking so it cannot contain any references to G2 variables. Use the collect data statement to assign the value of a variable to a local name, as described under collect data.