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 eee5045 commit fc5683e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,17 @@ 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 right and it will cause unpredictable behaviour.


### Examples
```
var st = { one: 1, two: 2 };
foreach st into v exec
show_debug_message(fe.key + " " + string(v));
```






0 comments on commit fc5683e

Please sign in to comment.