Show/Hide Toolbars

XSharp

Purpose

The LOOP statement causes control to jump back to the beginning of the innermost FOR, FOREACH , REPEAT or DO WHILE statement.

Syntax

LOOP

Remarks

The LOOP statement is only valid within a DO WHILE,  FOR ... NEXT, FOREACH .. NEXT or REPEAT .. UNTIL  construct. A LOOP statement outside of either construct will raise a compile time error.

See Also
DO WHILE
FOR

FOREACH
REPEAT UNTIL