EasyManua.ls Logo

Sinclair QL - Page 177

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...
RUN
program
RUN
allows a SuperBASIC program
to
be started.
If
a line number
is
specified
in
the
RUN
command then the program
will
be started
at
that
pOint,
otherwise the program
will
start
at
the lowest line number.
syntax:
RUN
[numeric_expression]
example:
I.
RUN
[run from
startJ
Ii.
RUN
10 I
run
from line
101
iii.
RUN
2*20
[run from line
40J
comment
Although
RUN
can
be
used within a program
its
normal
use
is
to
start
program execution
by typing
It
in
as
a direct command
SAVE
will
save
a SuperBASIC program onto any QL device.
syntax:
line:
= numeric_expression
10
numeric_expression
numeric_expression
10
10
numenc_expression
numeric_expression
50
SAVE
devices
Microdrives
example:
1
2
3
4
5
SAVE
device *
[,line]
*
where 1
will
save
from the specified line
to
the specified line
2
will
save
from the specified line to the end
3
will
save
from the start
to
the specified line
4
will
save
the specified line
5
will
save
the whole program
SAVE
mdv1
program,
20
TO
70
[save lines 20
to
70
on
mdv1_programJ
Ii.
SAVE
mdv2
test
program,
10,20,40
[save lines
10,20,40
on
mdv1_tesLprogramJ
iii.
SAVE
net3
[save the entire program on the network]
IV.
SAVE
ser1
[save
the entire program on serial channel 1J
12/84

Other manuals for Sinclair QL

Related product manuals