Do you think you can change a string variable by copying a number into it?
No. You can change a string variable by replacing the string in it with another string, but not by replacing it with a number.
Examine the following program:
' Practice Program ' LET WORDA$ = "Elephant" LET WORDB$ = "Stout" PRINT WORDA$, WORDB$ ' LET WORDB$ = WORDA$ PRINT WORDA$, WORDB$ ' END
What will the program write out on the monitor screen?
(The PRINT
statement will separate
the output for WORDA$
and WORDB$
with a tab.
Don't worry about that.)