mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
17 lines
348 B
Markdown
17 lines
348 B
Markdown
The **EXIT FOR** statement allows a condition other than the counter value to exit a [FOR...NEXT](FOR...NEXT) loop.
|
|
|
|
## Syntax
|
|
|
|
> EXIT [FOR...NEXT](FOR...NEXT)
|
|
|
|
* Used with a conditional statement to exit a FOR counter loop early.
|
|
|
|
## See Also
|
|
|
|
* [FOR...NEXT](FOR...NEXT)
|
|
* [EXIT DO](EXIT-DO), [IF...THEN](IF...THEN)
|
|
* [_CONTINUE](_CONTINUE)
|
|
|
|
|
|
|
|
|