pxt-calliope/docs/blocks/variables.md
2016-07-15 15:50:26 +01:00

243 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;