Commodore 16 User Manual
Download Operation & user’s manual of Commodore 16 Desktop for Free or View it Online on All-Guides.com.
REM
REM message
The REMark
is jus! a nolo (o whoever Is reading
a LIST ol Ihe program
ll may explain
a
section of
Ihe
program,
give informalion
aboul Ihe
aulhor, elc. REM stalemenls In
no way effort Ihe operation of
Ihe
program, except to add
to
ils length (and therefore
slow il down) The
word
REM may be followed
by
any text, although
use of graphic
characters gives
strange results.
EXAMPLE
10 NEXT X:
REM THIS LINE IS UNNECESSARY
RESTORE
RESTORE [line
#]
When executed in a program, the pointer
to Ihe item in
a
DATA
slatement which ts
lo be read next is reset
to the
first
ItBm
in
the
Irst
This gives
you
the ability
to re-READ the information II
a
pine
#]
follows
the RESTORE statement,
the pointer is sat to that line
Otherwise the pointer Is reset
lo the first DATA
statement In Ihe
program.
EXAMPLE:
RESTORE 200
RESUME
RESUME [line*
| NEXT)
136
Usea to
return
to execution
after
TRAPping an error. With no
arguments. RESUME attempts
lo re-execute
the line
in which Ihe error
occurred.
RESUME NEXT resumes execution
at Ihe next slatement
following the
slatement containing the error; RESUME line will GOTO
the
specific
Ime
and begin
execution the/e.
RETURN
RETURN
This statement is
always used with the GOSUB statement
Whan Ihe
program encounters
a
RETURN statement,
II goes to
trie statement
immediately following the lasl
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
<l/0>
The scaling
of Ihe bit maps in
multicolour
and high
resolution
modes
can
be changed
with
Ihe
SCALE command. Entering:
SCALE 1
turns scaling
on.
Coordinates
may then be scaled from lo 1 023 In
both X
and Y rather than the normal
scale
values,
which are.
multicolour
mode X
-
to
t59 Y
=•
lo
1
99
high resolution
mode. ... to
31
9
to
1
99
Scaling
can be turned
off
by entering 'SCALE
0'.
137