Difference between revisions of "EXIT FOR"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
(Created page with 'The '''EXIT FOR''' statement allows a condition other than the counter value to leave the FOR...NEXT loop. ''Syntax:'' EXIT FOR * Used with a conditional statement to …')
 
m (Add page sections)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The '''EXIT FOR''' statement allows a condition other than the counter value to leave the [[FOR...NEXT]] loop.
The [[EXIT FOR]] statement allows a condition other than the counter value to exit a [[FOR...NEXT]] loop.






''Syntax:'' EXIT FOR  
{{PageSyntax}}
:: [[EXIT FOR]]




{{PageDescription}}
* Used with a conditional statement to exit a [[FOR]] counter loop early.


* Used with a conditional statement to exit a FOR counter loop early.


{{PageSeeAlso}}
* [[FOR...NEXT]]
* [[EXIT DO]], [[IF...THEN]]
* [[_CONTINUE]]




''See also:'' [[EXIT DO]]
{{PageNavigation}}
 
 
 
 
==Navigation:==
 
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
 
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]

Latest revision as of 15:14, 19 February 2021

The EXIT FOR statement allows a condition other than the counter value to exit a FOR...NEXT loop.


Syntax

EXIT FOR


Description

  • Used with a conditional statement to exit a FOR counter loop early.


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page