pxt-calliope/docs/reference/loops/repeat.md
2016-05-19 13:56:24 -07:00

279 B

Repeat

Repeat code a preset number of times.

Block Editor

Touch Develop

Touch Develop has no repeat loop. Instead you can used a for loop

for (let i = 0; i < 5; i++) {
}

The loop above will repeat five (5) times.