LIST
If
there is a program in memory but there are
no
program lines
within the range specified by the
line-list, then a program line
is
displayed according
to
the following rules.
If
the line-Jist specifies
• Line numbers greater than any in the program - the highest
numbered program lme
IS displayed.
• Line numbers less
than
any in the program - the lowest
numbered
program
line
is
displayed.
•
Line
numbers between lines
in
the program - the next higher
numbered line is displayed.
If
you enter a
LIST
command and specify a line number which
is
equal to zero or greater than 32767, the message
"BAD
LINE
NUMBER"" is displayed.
If
you specify a line number which is not an integer, the message
"INCORRECT
STATEMENT"
is
displayed.
If
no
program
is
in
memory
when
you
enter
a
LIST
command.
the
message
"CANT
DO
THAT"
is
displayed.
When program lines are being displayed after the
LIST
command
has been entered, you can stop the listing
by
pressing the Break
key
(CLI!AR) .
Here
is
a quick summary of the lines listed when specified in the
line·list.
Examples:
>LIST
150-
130
END
>LIST
-90
100
A=279.3
>LIST
105
110
8=-456.8
>LI
ST 0
*
BAD
LINE
NUMBER
>LI
ST
33961
*
RAO
LTNF
NIIMRFR
>LIST
32.7
*
INCORRECT
STATEMENT
>NEW
>LIST
+
CAN'T
00
THAT
Command
LIST
LIST
x
LIST
x-y
LIST
x-
LIST
-y
Lines Displayed
All
program lines
Program line number x
Program lines between x and
y,
inclusive
Program
lines
greater
than
or
equal
to
K
Program lines less than
or
equal to y
T
.1ST
may
also
be
lIsed
to
direct
output
to
an
accessory
device
For
example.
LIST
"TP"
causes
your
program
to
be
printed.
if
the
TI
Solid
State
Thermal
Printer is attached, and
LIST
"RS232/1 ":100-200
outputs
program
lines
100
to
200
to
the
Tl
RS232
Interface.
Note
that
the name of the device must be enclosed
in
quotation
marks.
For
more information refer to the owner's manual
that
comes
with
the
accessory
device.
11·22
User's Reference Guide