Chapter
10
I
BASIC Ke-ywords
LLIST
Statement
LLIST
startline-endline
Lists program lines in memory
to
the printer.
Startline
specifies the first line
to
be listed. If you omit
startline,
BASIC starts with the first line in your program.
Endline
specifies the last line
to
be listed. If you omit
endline,
BASIC ends with the last line in your program.
If you omit both
startline
and
endline,
BASIC lists the entire
program.
You can substitute a period
(.)
for either
startline
or
endline
to
indicate the current line number.
LLIST assumes an 80-character-wide printer. You may change
this by using the WIDTH statement with the LPRINT option.
Examples
LLIST
lists the entire program
to
the printer.
To
stop this process,
press
(.
This causes
a
temporary halt in the computer’s out-
put
to
the printer. Press
IHOLD]
again
to
continue printing.
LLIST
68-90
prints lines in the range
68
to
90.
205