8.2.3
RETURN Statement
The return statement provides an early exit from a block. For example, in the following lines of code
the third line will never execute. The variable a will have the value 4.
a := 4;
RETURN;
a := 5;
GFK-2950C
Chapter 8. Structured Text (ST) Programming
February 2018
373