AMOSi:Exit
an example can be found on AMOSPro_Examples:Examples/H-1/Help_13.AMOS
Jumps out of a program loop created by DO...LOOP, FOR...NEXT, REPEAT...UNTIL or WHILE...WEND. If you omit the number of loops, the innermost loop will be terminated automatically.
Exit
Exit loopnumbers