pxt-calliope/docs/reference/variables.md
2016-04-05 23:11:48 -07:00

22 lines
250 B
Markdown

## Variables
[Assign](/reference/variables/assign) (set) a variable's value
```blocks
let x = 0;
```
Get a variable's value
```blocks
let x = 0;
x;
```
[Change](/reference/variables/change-var) a variable's value
```blocks
let x = 0;
x+=1;
```