EXIT FOR: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The '''EXIT FOR''' statement allows a condition other than the counter value to exit a [[FOR...NEXT]] loop. | The '''EXIT FOR''' statement allows a condition other than the counter value to exit a [[FOR...NEXT]] loop. | ||
{{PageSyntax}} | {{PageSyntax}} | ||
: EXIT [[FOR...NEXT|FOR]] | |||
* | {{PageDescription}} | ||
* Mostly used with a conditional statement to exit a FOR counter loop early. | |||
{{PageSeeAlso}} | |||
* [[FOR...NEXT]] | * [[FOR...NEXT]] | ||
* [[EXIT DO]], [[IF...THEN]] | * [[EXIT DO]], [[IF...THEN]] |
Latest revision as of 00:33, 29 January 2023
The EXIT FOR statement allows a condition other than the counter value to exit a FOR...NEXT loop.
Syntax
- EXIT FOR
Description
- Mostly used with a conditional statement to exit a FOR counter loop early.
See also