Semantic Error (SEM1086): 'EXIT' is only allowed in the scope of an iteration statement.
In ST code, the EXIT statement can only be used to abort the execution of an iteration statement (FOR, WHILE, REPEAT).
Further Info
For information on the correct ST syntax refer to the topic "ST code objects". |