Tile - Loop For – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Count with to Ylands:Tile - Loop For: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Loop For == | |||
=Notes= | [[File:YlandsTile-335.png]] | ||
* | |||
=== Description === | |||
This '''loop''' will execute selected instruction sequence as long as a '''counter''' variable ('''I''') is '''within''' the defined '''range'''. | |||
=== Notes === | |||
* '''Value''' of current iteration is '''returned''' as '''I''' and can be used as '''local variable''' in instructions inside the loop. | |||
* Loop also support '''negative increments''', so it is possible to perform '''count down''', e.g FROM 10 TO 1 BY -1. | |||
* '''FROM''', '''TO''' is '''half-closed interval''', it does not include '''TO''' value. | |||
Line 15: | Line 22: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:53, 8 July 2021
Loop For
Description
This loop will execute selected instruction sequence as long as a counter variable (I) is within the defined range.
Notes
- Value of current iteration is returned as I and can be used as local variable in instructions inside the loop.
- Loop also support negative increments, so it is possible to perform count down, e.g FROM 10 TO 1 BY -1.
- FROM, TO is half-closed interval, it does not include TO value.