remove references to language primitives

This commit is contained in:
Tom Ball 2016-06-12 08:16:04 -04:00
parent 02a0839a4e
commit e94e2e7dc4

View File

@ -1,10 +1,6 @@
# Reference # Reference
```namespaces ```namespaces
for (let i = 0;i<5;++i) {}
if (true){}
let x = 0;
Math.random(5);
basic.showNumber(0); basic.showNumber(0);
input.onButtonPressed(Button.A, () => { input.onButtonPressed(Button.A, () => {
@ -21,8 +17,15 @@ images.createImage(`
. . . . . . . . . .
`); `);
pins.digitalReadPin(DigitalPin.P0); pins.digitalReadPin(DigitalPin.P0);
serial.writeValue(x, 0); serial.writeNumber(0);
control.inBackground(() => { control.inBackground(() => {
}); });
``` ```
<!-- No language reference for now, until
for (let i = 0;i<5;++i) {}
if (true){}
let x = 0;
Math.random(5);
-->