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

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