pxt-calliope/docs/reference/loops.md
2016-04-05 23:11:48 -07:00

306 B

Loops

Repeat code.

for

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

repeat

while

while(true) {}

forever

basic.forever(() => {})