More snippet types

This commit is contained in:
Thomas Denney
2016-08-09 16:55:43 +01:00
parent 9ebd9d4f04
commit 1164feb754
5 changed files with 8 additions and 8 deletions

View File

@ -62,7 +62,7 @@ export function newAction() {
Now let's implement `PRESS PIN 0` in the main. Create a condition of `input->on pin pressed("P0")` that will add one to the score and calls the method `new action`.
```
```blocks
// **. . .**
input.onButtonPressed(Button.B, () => {
basic.showNumber(game.score(), 150) // ***

View File

@ -39,7 +39,7 @@ coll.push("cat")
## 4. Write the five (5) lines of code that will add the following five words to `data->coll`: puppy, clock, night, cat, cow.
```
```ts
let coll = (<string[]>[])
```