Now, when you list the program with the LIST command or with the (f5) Function
Key, the following is displayed:
10
PRINT
"I
U)VE
MY
110DEL 101Zl"
2l2l
GOTO
1l2l
Ok
•
Execute this program
to
verify that the new phrase
is
displayed. Now, instead
of
pressing
(BREAK)
to
interrupt execution, press the
(PAUSE)
key. This will cause the
program
to
stop momentarily. To continue execution, simply press the
(PAUSE)
key
again. Pausing a program may be useful when you want
to
read what is being
displayed before it scrolls off view.
Of
course this program must still be terminated by
pressing
(BREAK)
because it still
is
in an infinite loop.
Try a
few
other experiments with the PRINT command. Type in the following
program:
10
PRINT
"MY
NAME
IS"
20
PRINT
"LEE"
Run this program. The output should
be:
M\/
NAJvIE
IS
LEE
Ok
•
Now, retype line
10
to
insert a space between the word
"IS"
and the quotation mark.
Also, add a semicolon
at
the end
of
line
10.
The changed program should look like
this
10
PRINT
"MY
NAME
IS
";
20
PRINT
"LEE"
8