Tile - Loop For Each Array – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}") |
||
Line 9: | Line 9: | ||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] |
Revision as of 03:52, 30 December 2020
- For each loop will iterate trough all the members of selected array and execute given sequence for each separately.
- Value of currently iterated members is returned as item and can be used as local variable in instructions inside the loop.
- It is possible to use break instruction to jump out of the loop.
Notes
- See also: Break / Continue.