Assignment Statements
Assignment statements have the following form:
lvalue := expression
where lvalue is either
-
An output field
-
A property of a field variable
-
A local variable
-
A state variable
-
The assignment statement sets lvalue to the value of the expression.
-
If lvalue is not the name of an output field or state variable it is assumed that lvalue refers to a local variable.
-
The assignment statement is the only way to introduce new local variables.
-
Example
temp := input1
x := ln( input2 )
output2 := x
Related topics: