EXIT statement in ST
Syntax |
---|
|
Use the EXIT
statement to terminate the iteration statement FOR
, WHILE
or REPEAT
before the termination condition END_FOR
, END_WHILE
or END_REPEAT
is satisfied.
If the EXIT
statement is located within nested iterative statements, Neuron Power Engineer exits the current iterative statement in which the EXIT
statement is located. I.e., Neuron Power Engineer continues the execution with the next statement after the termination condition of the current iterative statement.
An example with EXIT
can be found under "CONTINUE statement in ST".