Calculation.

Calculation of numerical value.

10 ab=120
20 print ab+2
30 print ab-2
40 print ab*2
50 print ab/2

run
 122
 118
 240
 60
OK

Number and variables can be calculated in four arithmetic  operations in this way.


Connection of character string.

10 st$="tree"
20 print "Apple "+st$

run
Apple tree
Ok

Character string can be connected with symbol '+'.