Skip statement


SYNTAX:
skip_stmt = SKIP ';' .
A skip statement causes an immediate transfer of control to the end of the body of the repeat statement in which it appears. The control conditions are then evaluated as described in 13.9. in ISO 10303-11.
Rules and restrictions:
The skip statement shall only occur within the scope of the repeat statement.
Example:
The skip statement passes control to the end repeat statement which causes the until control to be evaluated.
 
REPEAT UNTIL (a=1);
...
 IF (a < 0) THEN
  SKIP;
 END_IF;
... – statements here are skipped if a < 0
END_REPEAT;