Assigns the value of an expression on the right side of an equation to the variable on the left side.
LET
numeric variable name = Numeric expression
LET
string variable name = String expression
LET A = 15
LET K$ = "123"
TM
error is generated
when an attempt is made to assign a string expression to a numeric variable,
and vice versa.LET
may be omitted.10 LET A = 10
20 B = 20
30 PRINT A ; B
Assigns 10 to variable A and 20 to variable B, and displays both.