EasyManua.ls Logo

Commodore VIC-20 - Page 26

Commodore VIC-20
308 pages
Print Icon
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
Format:
Abbreviation:
Screen
Display:
HUN
[line
number]
rKUBMu
R
Q
This
command
causes
a
BASIC
program
to
begin
operating.
The
command
RUN
by
itself
starts
the
program
at
the
lowest
numbered
line.
All
variable
values
are
cleared
when
this
command
is
given.
RUN
followed
by
a
number
causes
the
program
to
start
working
from
another
line
than
the
lowest
numbered
one.
If
that
line
number
does
not
exist,
the
message
UNDEF'D
STATEMENT
ERROR
appears.
RUN
followed
by a
variable
will
first
clear
the
value
of
that
variable,
and
try
to
start
the
program
at
line 0.
il
it
exists.
RUN
can
also
be
used
as a
statement
within
a
program.
Keep
in
mind
that
all
variables
are cleared
when
this
statement
is
executed.
i
EXAMPLES:
RUN
Starts
at
the
beginning
RUN
100
Starts
at
line
100
RUN
X
Starts
at
line
0,
or
UNDEF'D
STATEMENT
ERROR
if
no
line
0
SAVE
Format:
Abbreviation:
Screen
Display:
SAVE
["filename",
S^S"?prJ
A
S
J5
device,
command]
The
SAVE
command
stores
a
program
currently
in
memory
on
tape
or
disk.
The
program
being
SAVEd
is
not
affected
and
remains
fn
the
VIC's
memory
after
the
save
operation.
Programs
on
tape
are
stored
twice
automatically,
so
the
VIC
can check
for
errors
when
LOADing
the
program
back
in.
The
command
SAVE
all
by
itself
sends
the
program
to
the
cassette
deck
without
a
name.
When
the
command
is
given,
the
VIC
wil!
say:
PRESS
RECORD
AND
PLAY
ON
TAPE
Holding
down
the
RECORD
button,
press
PLAY,
and
the
VIC
will
say:
OK
SAVING
10

Other manuals for Commodore VIC-20

Related product manuals