Assignment v15
The assignment statement sets a variable or a formal parameter of mode OUT
or IN OUT
specified on the left side of the assignment :=
to the evaluated expression specified on the right side of the assignment.
variable
is an identifier for a previously declared variable, OUT
formal parameter, or IN OUT
formal parameter.
expression
is an expression that produces a single value. The value produced by the expression must have a data type compatible with that of variable
.
This example shows the typical use of assignment statements in the executable section of the procedure: