_CONTINUE

From QB64 Wiki
Revision as of 23:33, 18 August 2017 by imported>SMcNeill (Created page with '{{DISPLAYTITLE:_CONTINUE}} The _CONTINUE statement is used in a DO/LOOP, WHILE/WEND, FOR/LOOP block to skip the remaining lines of code in a block (without exiting it) and start…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


The _CONTINUE statement is used in a DO/LOOP, WHILE/WEND, FOR/LOOP 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 label.


Syntax

_CONTINUE


Availability:

  • Available from build 20170628/55 onwards.


Example:

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

1 2 3 4 6 7 8 9 10


See also



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page