EasyManua.ls Logo

Commodore Plus 4 - Page 161

Commodore Plus 4
234 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...
n
"
~
n
n
n
n
n
EXAMPLE:
10
NEXT
X:
REM
THIS
LINE
IS
UNNECESSARY
RESTORE
RESTORE
i//ne#l
When
executed
in
a
program,
the
pointer
to
the item
in
a
DATA
statement
which
is
to
be
read
next
is
reset
to
the
first
item
in
the
list-
This
gives
you
the
ability
to
re-READ
the
information.
If
a
[line
#]
follows
the
RESTORE
statement,
the
pointer
is
set
to
that
line.
Otherwise
the
pointer
is
reset
to
the
first
DATA
statement
in
the
program.
EXAMPLE:
RESTORE
200
RESUME
RESUME
l//ne
#
/NEXT
|
Used
to
return
to
execution
after
TRAPping
an
error.
With
no
argu
ments,
RESUME
attempts
to
re-execute
the
line
in
which
the
error
occurred.
RESUME
NEXT
resumes
execution
at
the
next
statement
following
the
statement
containing
the
error;
RESUME
line
#
will
GOTO
the
specific
line
and
begin
execution
there.
RETURN
return
This
statement
is
always
used
with
the
GOSUB
statement.
When
the
program
encounters
a
RETURN
statement,
it
goes
to
the
statement
immediately
following the
last
GOSUB
command
executed.
If
no
GOSUB
was
previously
issued,
then
a
RETURN WITHOUT
GOSUB
ERROR
message
is
delivered,
and
program
execution
is
stopped.
SCALE
SCALE
<7/0>
The
scaling
of
the
bit
maps
in
multicolor
and
high
resolution
modes
can
be
changed
with
the
SCALE
command.
Entering:
SCALE
1
turns
scaling
on.
Coordinates
may
then
be
scaled
from 0
to
1023
in
both
X
and
Y
rather
than
the
normal
scale
values,
which
are:
152

Other manuals for Commodore Plus 4

Related product manuals