`Exit For j` Statement to Break Out of Nested `For` and `For Each` Loops
Open
Approved-in-Principle
Proposal
Prototype-Needed
- Dominant language
- No language data
- Stars
- 328
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
There's often a need to break out of inner loops. Suggested syntax:
for i=1 to 10
for j= 1 to 10
if Condition then exit for i ' jumps out of both loops
if OtherCondition then exit for ' jumps out of j loop
next
next
You can get round it by mixing For and While loops but this is cumbersome. And using Booleans is even worse.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.