92b60a251d
* annotating APIs to support onstart * missed file * updated templates * adding new lines in main.ts * fixing docs * removing onstart * updated docs * updated various docs * more docs * adding upgrade policies for blocks * updated pxt reference * placing on start under "basic"
14 lines
307 B
Markdown
14 lines
307 B
Markdown
# Blocks language
|
|
|
|
### @description Language constructs for the Block editor.
|
|
|
|
```namespaces
|
|
for (let i = 0;i<5;++i) {}
|
|
if (true){}
|
|
let x = 0;
|
|
Math.random(5);
|
|
```
|
|
|
|
## See Also
|
|
|
|
[logic](/blocks/logic), [loops](/blocks/loops), [math](/blocks/math), [variables](/blocks/variables), [on-start](/blocks/on-start) |