command/LIST command/LIST
NAME
LIST -- Lets you look at lines of a BASIC program
ABBREVIATION
l <shift> I
SYNOPSIS
LIST [<first_line>][-[<last_line>]]
FUNCTION
The LIST command lets you look at lines of a BASIC program that have
been typed or LOADed into the computer's memory. When LIST is used alone
(without any numbers following it), you get a complete LISTing of the
program on your screen, which may be slowed down by holding the C= key
(Commodore key), paused by <ctrl>-S (unpaused by pressing any other
key), or STOPed by pressing the <run/stop> key. If you follow the word
LIST with a line number, your computer only shows that line number. If
you type LIST with two numbers separated by a dash, the computer shows
all lines from the first to the second line number. If you type LIST
followed by a number and just a dash, it shows all the lines from that
number to the end of the program. And if you type LIST, a dash, and then
a number, you get all the lines from the beginning of the program to
that line number. Using these variations, you can examine any portion of
a program, or easily bring lines to the screen for modification.
INPUTS
<first_line> - first BASIC line to be shown
<last_line> - last BASIC line to be shown
RESULT
Brings BASIC program lines to the screen.
EXAMPLES
LIST
Shows entire program.
LIST 100-
Shows from line 100 until the end of the program.
LIST 10
Shows only line 10.
LIST -100
Shows lines from the beginning until line 100.
LIST 10-200
Shows lines from 10 to 200, inclusive.
NOTES
None
BUGS
None
SEE ALSO
None