Migrate docs from the other repo
This commit is contained in:
21
docs/reference/loops/repeat.md
Normal file
21
docs/reference/loops/repeat.md
Normal file
@ -0,0 +1,21 @@
|
||||
# Repeat
|
||||
|
||||
Repeat code a preset number of times. #docs #repeat #language
|
||||
|
||||
Repeat code a fixed 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.
|
||||
|
Reference in New Issue
Block a user