add more blocks
This commit is contained in:
parent
a973b2aec6
commit
03111368e0
@ -30,11 +30,19 @@ basic.showString("Hello world")
|
|||||||
Use the **Basic** drawer in the editor
|
Use the **Basic** drawer in the editor
|
||||||
to drag out and arrange three blocks to create this program:
|
to drag out and arrange three blocks to create this program:
|
||||||
|
|
||||||
|
```blocks
|
||||||
|
basic.forever(() => {
|
||||||
|
basic.showNumber(0)
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
### Step 5
|
### Step 5
|
||||||
|
|
||||||
Use the **Basic** drawer in the editor
|
Use the **Basic** drawer in the editor
|
||||||
to drag out and arrange three blocks to create this program:
|
to drag out and arrange three blocks to create this program:
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
basic.showString("Hello world")
|
input.onButtonPressed(Button.A, () => {
|
||||||
|
basic.showString("Hello!")
|
||||||
|
})
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user