There are eight characters in the string
"A B C D "
The spaces count as characters, even the space after the D.
Look at the following program:
' Assignment with numerical variables LET CASH = 100 LET WORTH = CASH PRINT WORTH ' END
The first LET
statement creates
the variable CASH
then puts the number 100
into it:
100 |
The second LET
statement
creates the variable WORTH
,
then gets a number from CASH
to copy
into WORTH
:
100 |
The number in CASH
does not change.
The program prints 100 to the screen.
Could the programmer use another
LET
statement to change the
number that is in WORTH
?