Updating loop docs
This commit is contained in:
		@@ -20,5 +20,5 @@ basic.showNumber(i)
 | 
			
		||||
 | 
			
		||||
### See also
 | 
			
		||||
 | 
			
		||||
[while](/reference/loops/while), [if](/reference/logic/if), [show number](/reference/basic/show-number)
 | 
			
		||||
[repeat](/reference/loops/repeat), [while](/reference/loops/while), [if](/reference/logic/if), [show number](/reference/basic/show-number)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,19 +1,16 @@
 | 
			
		||||
# Repeat
 | 
			
		||||
 | 
			
		||||
Repeat code a preset number of times.
 | 
			
		||||
Run part of the program the number of times you say.
 | 
			
		||||
 | 
			
		||||
### Block Editor
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Touch Develop
 | 
			
		||||
### Lessons
 | 
			
		||||
 | 
			
		||||
Touch Develop has no `repeat` loop. Instead you can used a for loop
 | 
			
		||||
[looper](/lessons/looper)
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
for (let i = 0; i < 5; i++) {
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
### See also
 | 
			
		||||
 | 
			
		||||
The loop above will repeat five (5) times.
 | 
			
		||||
[for](/reference/loops/for), [while](/reference/loops/while), [if](/reference/logic/if), [show number](/reference/basic/show-number)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user