pxt-calliope/docs/reference/loops.md

9 lines
113 B
Markdown
Raw Normal View History

2016-04-06 08:11:48 +02:00
# Loops
2016-05-19 22:56:24 +02:00
```cards
2016-04-06 08:11:48 +02:00
for(let i = 0;i<5;i++) {}
2016-05-19 22:56:24 +02:00
for(let i = 1;i<5;i++) {}
2016-04-06 08:11:48 +02:00
while(true) {}
basic.forever(() => {})
```