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 4555ccc commit dd2d4c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ foreach <some_ds_grid> as_grid into v exec

####
The macro variable `fe` contains these variables of the current loop body:
- index `fe.i` (array, list, grid, number range, string)
- key `fe.key` (map, struct)
- position `fe.xpos`, `fe.ypos` (grid)
- write function `fe.set(val)` (anything but string and number range)
- index `fe.i` for array, list, grid, number range, string
- key `fe.key` for map, struct
- position `fe.xpos`, `fe.ypos` for grid
- write function `fe.set(val)` for anything but string and number range

####
To return from a function from within the loop use `fe_return(val, [depth=1]);`
Expand Down

0 comments on commit dd2d4c7

Please sign in to comment.