batch fixing ](/microbit/ -> ](/ links

This commit is contained in:
Peli de Halleux
2016-04-13 08:27:45 -07:00
parent 2e49901a7e
commit d28efb3b84
517 changed files with 2235 additions and 2235 deletions

View File

@ -20,9 +20,9 @@ for (let k = 0; k < 4; k++) {
### Lessons
[looper](/microbit/lessons/looper)
[looper](/lessons/looper)
### See also
[while](/microbit/reference/loops/while), [if](/microbit/blocks/if)
[while](/reference/loops/while), [if](/blocks/if)

View File

@ -5,7 +5,7 @@ Repeat code in a loop while a condition is true.
### @parent blocks/language
Repeat code while a [Boolean](/microbit/reference/types/boolean) `condition` is true.
Repeat code while a [Boolean](/reference/types/boolean) `condition` is true.
### ~hide
@ -19,7 +19,7 @@ let condition = false
![](/static/mb/string-0.png)
The while loop has a *condition* that evaluates to a [Boolean](/microbit/reference/types/boolean) value. After the `do` keyword, add the code that you want to run while the `condition` is `true`. The while loop concludes with `end while`.
The while loop has a *condition* that evaluates to a [Boolean](/reference/types/boolean) value. After the `do` keyword, add the code that you want to run while the `condition` is `true`. The while loop concludes with `end while`.
The condition is tested before any code runs. Which means that if the condition is false, the code inside the loop doesn't execute.
@ -35,9 +35,9 @@ The following example uses a while loop to make a diagonal line on the LED scree
### Lessons
[rotation animation](/microbit/lessons/rotation-animation)
[rotation animation](/lessons/rotation-animation)
### See also
[on button pressed](/microbit/reference/input/on-button-pressed), [for](/microbit/reference/loops/for), [if](/microbit/blocks/if), [forever](/microbit/reference/basic/forever)
[on button pressed](/reference/input/on-button-pressed), [for](/reference/loops/for), [if](/blocks/if), [forever](/reference/basic/forever)