Table of Contents

Advertisement

6-2 Program Commands
(LET)
Function:
{ Numeric variable = numeric expression
}
Character variable = character expression
®
Assigns the value on the right side of the equal (=) sign to the variable on the
left.
Explanation
:
1) A numeric expression corresponds to a numeric variable, and a character
expression corresponds to a character variable.
2) LET can be omitted.
Example
~
10 LET
X=12
20 Y=Xt2+2*X-1
··
·
··
····
···
LETcanbeomitted.
30 PRINTY
40 A$='' CASI 0
11
··· ··
·
· ····
·
·
··LET can be omitted.
50 LET
B$=A$+~FXq
60 PRINT 8$
70
END
109

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents