inserting macros instead of hard coded board names
This commit is contained in:
@ -16,7 +16,7 @@ for (let i = 0; i < 4; i++) {
|
||||
}
|
||||
```
|
||||
|
||||
If the rectangle below represents the BBC micro:bit, shade the areas that will be displayed. Explain why that particular area is shaded.
|
||||
If the rectangle below represents the @boardname@, shade the areas that will be displayed. Explain why that particular area is shaded.
|
||||
|
||||
Let's create a for loop where `0` is the loop's starting value, `i` is the index variable, and `4` is the ending value. The index variable `i` starts at 0 and increases by 1 each time through the loop. The loop ends when `i = 4`.
|
||||
|
||||
@ -30,7 +30,7 @@ for (let i1 = 0; i1 < 6; i1++) {
|
||||
}
|
||||
```
|
||||
|
||||
If the rectangle below represents the BBC micro:bit, shade the areas that will be displayed. Explain why that particular area is shaded.
|
||||
If the rectangle below represents the @boardname@, shade the areas that will be displayed. Explain why that particular area is shaded.
|
||||
|
||||
Let's create a for loop where `0` is the loop's starting value, `i` is the index variable, and `6` is the ending value. The index variable `i` starts at 0 and increases by 1 each time through the loop. The loop ends when `i = 6`.
|
||||
|
||||
|
Reference in New Issue
Block a user