User Tools

Site Tools


blocks:examples:for

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:examples:for [2017/10/01 15:40]
simplesi
blocks:examples:for [2017/10/01 16:24] (current)
simplesi
Line 1: Line 1:
-|{{:​blocks:​examples:​for.png|}}|This will loop with {{:​blocks:​i.png|}} starting off at one and going up each time by 1 until it reaches 10|+|{{:​blocks:​examples:​for.png|}}|This will loop with {{:​blocks:​i.png|}} starting off at 1\\ and going up each time by 1 until it reaches 10
 +|{{:​blocks:​examples:​forcount.png|}}|The {{:​blocks:​i.png|}} can be replaced with {{:​blocks:​examples:​count.png|}}\\ by simply clicking on the {{:​blocks:​i.png|}} after the for and\\ changing it to a more meaningful name| 
 +|{{:​blocks:​examples:​forrange.png|}}|By using the range block, you can change\\ the starting value, the end value and the\\ value used to increment each time through the loop| 
 +|{{:​blocks:​examples:​forcountdown.png|}}|Using range, you can even count backwards as well|
blocks/examples/for.1506886851.txt.gz · Last modified: 2017/10/01 15:40 by simplesi