pxt-calliope/docs/blocks/variables.md
2016-06-14 17:20:45 -04:00

244 B

Variables

Assign (set) a variable's value

let x = 0;

Get a variable's value

let x = 0;
x;

Change a variable's value

let x = 0;
x+=1;