Skip to content

CONTINUE

Mathias Wulff edited this page Dec 15, 2025 · 3 revisions

Keyword CONTINUE

CONTINUE starts the next iteration of the current loop (WHILE, etc.).

Syntax:

    CONTINUE [label];

Example:

    WHILE @i < 10
    BEGIN
        SET @i = @i + 1;
        IF @i = 5 CONTINUE;
        PRINT @i;
    END

See also: BREAK, WHILE, LEAVE, ITERATE

Clone this wiki locally