EasyManua.ls Logo

Sinclair QL - Page 160

Sinclair QL
422 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LIST
allows a SuperBASIC
line
or group
of
lines
to
be listed
on
a specific
or
default
channel.
LIST
is
terminated by ICTRL
II
space
syntax:
line:
= line_number
10
line_number 1
line_number
TO
2
TO
line~number
3
Ime_number 4
5
LIST
LIST
[channel,] line *
[,1me]
*
where 1
will
lisl
from the specified line
to
the speCilied line
2
Will
list
from the specified line
to
the end
3
will
list
from the
start
to
the specified line
4
will
list
the specified line
5
will
list
the whole program
example:
i.
LIS
T llist
all
lines]
ii.
LIST
10
to
300
[list
lines
10
to
300)
iii.
LI
ST
12.20.50
[list lines 12,20 and 50 only]
If
LIST
output
is
directed
to
a channel opened
as
a printer channel
then
LIST
Will
provide comment
hard copy.
LOAD
will
load a SuperBASIC program
from
any
OL
device.
LOAD
automatically performs
a NEW before loading another
program, and so any previously loaded program
will
be cleared by
LOAD.
If
a line input during a load has incorrect SuperBASIC syntax, the word MISTAKE
IS
inserted between the line number and the body of the
line.
Upon execution, a line
of
this sort
will
generate
an
error
syntax: LOAD
device
example:
i.
LOAD
"mdv1
test
program"
ii.
LOAD
mdv1
games-
iii.
LOAD
net
;-3
iv.
LOAD
ser1-e
12/84
LOAD
devices
Microdrives
33

Other manuals for Sinclair QL

Related product manuals