Download Print this page

Tandy color computer 8 basic Quick Reference Manual page 12

Advertisement

Commands
Commands
REM
comment
Lets
you
insert
comments
in
a
program
line.
The
computer
ignores everything
in
the
line,
after
the
REM.
REM
THIS
IS
A
COMMENT
LINE
RENUM
newline,startiine
.increment
Renumbers
program
lines.
newline
New
starting
line
startline
Line
where renumbering
starts
increment
Step
value
for lines
RENUM 1,1,10
RESET
(x,y)
Resets a
point
on
the
low- resolution
text
screen
to
the
background
color
RESET (22,33)
RESTORE
Sets the
computer's
pointer
back
to
the
first
item
on
the
first
DATA
line.
RESTORE
RETURN
Returns
the
computer
from
a
subroutine
to
the
BASIC word
following
GOSUB.
RETURN
RUN
Executes a program.
RUN
SCREEN
type,
colors
Selects low-resolution
screen
modes
and
color
sets.
type
Text
1
Graphics
colors
Color
set
1
Color
set
1
SCREEN
0,1
SET
(x,y,c)
Sets point x,y
on
the
low-resolution
text
screen
to
Color
c.
If
you
omit
c,
BASIC
uses
the
foreground
color
SET (11,11
,3)
SKIPF
filename
Skips
to
next
program on
cassette
tape
or
to
the
end
of
a
specified
program.
filename
Optional
name
of
program
to
skip
over
SKIPF "DATA"
SOUND
tone,duration
Sounds
a
specified
tone
for
a
specified duration.
tone
1-255
sets pitch
duration
1-255
sets
duration
SOUND 33,22
STOP
Stops execution
of
a program.
STOP
TIMER
= n
Sets timer
to
n.
TIMER=120
TROFF
Turns
off
program
tracer.
TROFF
TRON
Turns
on program
tracer.
TRON
WIDTH
n
Sets the
text
screen
to
resolution
n\
32
32 X
16
(low-resolution
text)
40
40 X 24
(high-resolution
text)
80
80 X 24
(high-resolution
text)
WIDTH
80
16
17

Advertisement

loading
Need help?

Need help?

Do you have a question about the color computer 8 basic and is the answer not in the manual?