Finding
Out
What
the
Statements
Are
BASIC's LIST command displays the statements in the
BASIC program
that
is
currently loaded.
Let's use
our
ORIG 123 file
to
demonstrate. Assume
for this example
that
drive A:
is
the default drive.
I Make sure Disk BASIC or Advanced BASIC is
ready-
Ok
is displayed.
2 Insert the diskette with ORIG 123 on it into drive A:.
3 Type this:
load
"orig123
and press the En ter key.
4 Now the program in the file ORIG 123 .BAS is loaded
from the diskette, and then the BASIC
prompt,
Ok,
is
displayed.
5 Type:
list
and press the Enter key.
Program statements are listed
on
the screen.
For
our
example, it should
look
like this:
Ok
load
"orig123
Ok
list
10
PRINT
1
20
PRINT
2
30
PRINT
3
Ok
.BASIC 3-23