Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
mh-cz authored Mar 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 88e5567 commit 40bdb4b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -64,9 +64,17 @@ foreach m as_map into v exec
show_debug_message(fe.key + ": " + string(v));
```
Range
+ 1 param: from = 0, to = param1, step = 1
+ 2 params: from = param1, to = param2, step = 1
+ 3 params: from = param1, to = param2, step = param3
+ 1 param: from = 0, to = `p1`, step = 1
+ 2 params: from = `p1`, to = `p2`, step = 1
+ 3 params: from = `p1`, to = `p2`, step = `p3`
```
foreach 5 into v exec
show_debug_message(v);
```
```
foreach -5, 5 into v exec
show_debug_message(v);
```
```
foreach -5, 5, 0.5 into v exec
show_debug_message(v);

0 comments on commit 40bdb4b

Please sign in to comment.