EXIT FOR: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "The '''EXIT FOR''' statement allows a condition other than the counter value to exit a FOR...NEXT loop. {{PageSyntax}} :: EXIT FOR * Used with a conditional statement to exit a FOR counter loop early. ''See also:'' * FOR...NEXT * EXIT DO, IF...THEN * _CONTINUE {{PageNavigation}}")
 
No edit summary
Line 4: Line 4:


{{PageSyntax}}
{{PageSyntax}}
:: EXIT [[FOR...NEXT|FOR]]  
:: EXIT [[FOR...NEXT|FOR]]




Line 10: Line 10:




''See also:''  
''See also:''
* [[FOR...NEXT]]
* [[FOR...NEXT]]
* [[EXIT DO]], [[IF...THEN]]
* [[EXIT DO]], [[IF...THEN]]

Revision as of 01:35, 23 January 2023

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


Syntax

EXIT FOR


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


See also:



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link