Tile - Loop While – 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 10: | Line 10: | ||
---- | ---- | ||
{{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 02:30, 31 December 2020
- While loop will execute selected instruction sequence as long as a specified condition is true.
- Its crucial to set correct escape condition, otherwise the loop will continue indefinitely and will impact script performance.
- Alternatively, it is possible to use break instruction to jump out of the loop.
Notes
- There is internal limit to all loops to break out after one milion iterations.
- See also: Break / Continue.