
7-6
Section
Details of BASIC Commands
170
llist
Syntax:
LLIST
[(<line number> | . )][-[ (<line number> | . )]]
Description:
Command. To list the program in the current memory area to
LPRT
:
<line number> is any valid BASIC program line number in the range: [1…65535].
The combination of <line numbers> and dashes specifies the lines that will be listed.
1.
If a single line number is given then only that line will be listed.
2.
If a range of lines is specified (two line numbers separated by a dash) then that entire range
will be listed.
3.
If a line number followed by only a dash is specified then all program lines from the specified
line number to the end of the program will be listed.
4.
If a dash is followed by a line number then all program lines from the beginning of the
program to the specified line number will be listed.
5.
If only a . (dot) is used the line entered, or displayed, last will be listed.
The output of the
LLIST
statement can be interrupted using the
CTRL
+
X
or
CTRL
+
B
keys. If
CTRL
-
B
is used, output can be resumed by pressing
CTRL
+
B
again.
LLIST
will be executed under the following conditions even if the
OPEN
command is not specified:
“CTS_ON, RTS_OFF, DSR_ON”
The difference between
LIST
and
LLIST
is as follows:
LIST
outputs to port #1 on the ASC11 and ASC21 and port #3 on the ASC31.
LLIST
outputs to port #2.
If the port is not configured correctly for output then a “CANNOT WRITE TO A READ_ONLY
DEVICE” error (code 0059) may occur.
Remarks:
Note:
The output port is port #2 on ASC11, ASC21 and ASC31.
Examples:
> LLIST 100-200
>
See also:
LIST
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...