1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/_CONTINUE.md
2022-12-24 21:14:48 -06:00

663 B

The _CONTINUE statement is used in a DO...LOOP, WHILE...WEND or FOR...NEXT block to skip the remaining lines of code in a block (without exiting it) and start the next iteration. It works as a shortcut to a GOTO, but without the need for a line numbers.

Syntax

_CONTINUE

Availability

  • Build 20170628/55 and up.

Example(s)


FOR i = 1 TO 10
    IF i = 5 THEN _CONTINUE
    PRINT i;
NEXT


 1  2  3  4  6  7  8  9  10

See Also