Product Site

C.1.25. Error 28 - Invalid LEAVE or ITERATE.

Explanation:

A LEAVE or ITERATE instruction was found at an incorrect position. Either no loop was active, or the name specified on the instruction did not match the control variable of any active loop.

The associated subcodes are:
001

LEAVE is valid only within a repetitive loop or labeled block instruction.
002

ITERATE is valid only within a repetitive loop.
003

Symbol following LEAVE ("symbol") must either match the label of a current loop or block instruction.
004

Symbol following ITERATE ("symbol") must either match the label of a current loop or be omitted.
005

Symbol following ITERATE ("symbol") does not match a repetitive block instruction.