EasyManua.ls Logo

Commodore Plus 4 - Page 95

Commodore Plus 4
464 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...
BASIC
Version
3.5
Commands,
Functions,
and
System
Variables
83
GUESS
A
NUMBER
BETWEEN
1
&
9?
6
RIGHT
PLAY
AGAIN?
NO
RUN
RUN
line
number
Abbr.
rU
Executes
the
current
BASIC
program.
Each
time
you
issue
a
RUN
command,
all
variables
in
the
program
are
cleared
(numeric
variables
to
zero
and
string
variables
to
nulls)
because
RUN
contains
an
automatic
CLR
command.
Parameter:
line
number
Ordinarily
you
would
use
no
parameter
with
the
RUN
command.
But
you
can
include
a
line
number
if
you
want
program
executiori
to
start
at
a
line
other
than
the
first
one
in
the
program.
You
might
want
to
run
just
part
of
a
program
while
you
are
still
working
it
out.
Examples:
RUN
ROT
200
Executes
the
current
program.
Executes
the
current
program
from
line
200.
Preceding
lines
are
not executed
unless
a
branching
command
sends
control
back
to
a
line
before
200.
SAVE
Abbr.sA
SAVE
file
name,
device,
end-of-tape
flag
Stores
a
BASIC
program
on
tape
or
disk.
Although
SAVE
can
be
used
to
save
programs
to
cassette
tape
or
disk,
you
should
use
this
command
to
save
to
cassette
tape
and
use
DSAVE
to
save
to
disk.
Parameters:
"file
name",
device
number,
end-of-tape
marker
1.
You
should
include
the
name
of
the
file.
Enter
the
name
in
quotes.
You
can
use
a
variable
name
in
place
of
the
file
name,
but
the
variable
must
have
a
value.
It
may
be
in
parentheses
(not
in
quotes).
The
only
time
this
is
likely
to
be
useful
is
when
you
store
a
program
from
within
itself.
If
you
omit
the
file
name
in
a
SAVE
to
tape,
the
program
is
stored
without
a
name,
which
is
never
a
good
idea.
2.
Device
number
can
be
either
1
(for
cassette
tape
recorder)
or
the
disk
drive
number
(8-11);
no
other
numbers
are
allowed.
The
default
value
is
1,
for
cassette
recorder,
so
you
do
not
need
this
parameter
if
you
are
storing
onto
a
cassette
tape
recorder.
3.
If
you
are storing
onto
tape,
you
can
add
a
final
parameter
to
specify
two

Other manuals for Commodore Plus 4

Related product manuals