Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-cz authored Mar 7, 2024
1 parent d14f103 commit 0df0dec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ To break the loop use `fe_break;`
To continue the loop use `fe_continue;`

While using `fe_return` you need to pay attention how "deep" the return is. If `fe_return` is called in a nested fe loop you have to specify how many fe loops to break using the depth parameter otherwise the stack doesn't get cleared correctly and it will cause unpredictable behaviour. (tbh I wouldn't return from within fe loops at all)

####
Still a one-liner
```
foreach xxx into v1 exec
foreach xxx into v2 exec
foreach xxx into v3 exec
...
```

## Examples
```
Expand Down

0 comments on commit 0df0dec

Please sign in to comment.