Assignment☆☆☆
LET statement
LET Numeric_Variable = Numeric_Expression
Examples.
LET A=2+3
calculates the expression on the right hand and assigns the value to the variable on the left hand.
LET A=B
assigns the value of B to A.
LET A=A+1
add 1 to A.
(Note)
'LET' cannot be omitted, because a LET statement is not an equation.
Numeric Variables
A numeric variable has the precision of 15 digits.
A result of an arithmetic operation, which has precision of over 16 digits, is rounded to 15 digits when it is assigned to a variable.
Example. The result of the following program never becomes 0.
10 LET A=1/3 20 PRINT 1/3-A 30 END