1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/_CONTINUE__11111111.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

38 lines
832 B
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:07:16}}
{{DISPLAYTITLE:_CONTINUE}}
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|line label]].
{{PageSyntax}}
: [[_CONTINUE]]
{{PageAvailability}}
* '''QB64 1.2 and up''' (QB64 Team)
* '''QBPE 0.5 and up''' (QB64 Phoenix Edition)
{{PageExamples}}
''Example:''
{{CodeStart}}
{{Cl|FOR}} i = 1 {{Cl|TO}} 10
{{Cl|IF}} i = 5 {{Cl|THEN}} {{Cl|_CONTINUE}}
{{Cl|PRINT}} i;
{{Cl|NEXT}}
{{CodeEnd}}
{{OutputStart}}
1 2 3 4 6 7 8 9 10
{{OutputEnd}}
{{PageSeeAlso}}
* [[DO...LOOP]]
* [[WHILE...WEND]]
* [[FOR...NEXT]]
* [[GOTO]]
{{PageNavigation}}