ED
COLOR
BASIC
LINE
INPUT Input line from keyboard.
LINE INPUT ANSWER"
iX*
MID$
(oldstr, position, length)
Replaces a portion of one
string with another string.
MID$ (A*
ild
,2>="KS"
MOTOR
TurnscassetteONorOFF
MOTOR ON
MOTOROFF
NEW Erases everything in memory.
NEW
ON. . .GOSUB Multi-way branch to call specified subroutines.
ONYGOSUB50
.100
ON. . .GOTO Multi-way branch to specified lines.
ONXGOTO
190
.200
OPEN m.ttd.f Opens file
(flat:
Screen or Keyboard
(0|;
Cassette (-1 );
Printer
(-2). For
input
(I), or output (O).
OPEN
"0"
.-1
- "DATA"
PAINT (x.y).c.b Paints graphic
screen
starting at point (x,y)
with specified color
c
and stopping
at
border
(o)
of specified
color.
PAINT (
10 ,10)
i2
.d
PCLEAR n
Reserves
n number of
1
.5 K
graphics memory
pages.
PCLEARB
PCLS c Clears screen with specified color
c.
If color
code is
omitted
,
current
background color is
used . (See CLS
for color
codes.)
PCLS3
PCOPY Copy
graphics
from source page to destination page
PC0PY5T0G
PLAY Plays music of specified note (A-G or 1
-1
2),
octave
(O),
volume (V). note-length (L). tempo (T), pause (P). and
allows
execution of substrings.
Also
sharps {# or
•-
) and
flats
(-).
PLAY "Ll iA«;P8i'.'10iT3iL2iB- .3SXAS
i"
PMODE mode, start-page Selects resolution and first
memory page.
PMODE d ,1
POKE (location, value) Puts
value (0-255) into specified
memory location.
POhE 15872 .255
PRESET Reset a
point
to
background color.
PRESET (5 iB)
PRINT
Prints specified
message or number on TV screen.
PRINT
"HI"
PRINT#-1 Writes data to cassette.
. PRINTAt
?At
PRINT«-1
iA
PRINT#-2 Prints an item or list
of
items on the
printer.
PRINTW-2
.CAP*
PRINT TAB Moves the
cursor
to
specified column position.
PRINT
TAB (5)
"NAME"
PRINT USING
Prints numbers in specified format.
#
Formats numbers.
PR INT USING
"»*»»"
i B2.2
Decimal point.
PRINTUSING
"«•.*"
!5B.B
Displays comma to left of every third character.
PRINTUSING
"«•»«
i" idd.0
+
+
Fills leading
spaces with asterisks.
PRINTUSING
"
-until
.*#"
i 33. 3
$ Places
S
ahead of number.
PRINTUSING
"*»«,««'l
33.
3
SS
Floating dollarsign.
PRINTUSING
"««»,»"
ill .5dd
"S
Floating
dollarsign.
PRINTUSING
"***«.<•»"
i 8.333
+
In
first
position, causes sign to be
printed. In last
position,
causes
sign
to be printed
after
the
number.
PRINTUSING "+**.«"
S-21G
4
414
Exponential format.
PRINTUSING
"«».»tttt"
!5dG
Minus sign after negative numbers.
PRINTUSING "»*.»-"
i
-53d .
7
I
Returns
first
string
character.
PRINTUSING
"
i "
."YELLOW"
%spaces%
String field; length of field is
number
of spaces
plus 2.
PRINTUSING"*
Z"
i"BLUE"
Prints specified message at specified textPRINT (/'location
screen location.
PRINTS25G
."HI"
PRINT0256 i A*
PSET
(x,f/,c)
Sets
a
specified point (x,y) to specified color c. If c
is omitted, foreground is used.
PSETI5 iG i3>
PUT
(start) -(end), source, action Stores graphics from
source onto start 'end rectangle on the screen. (Array rectangle
size must match GET rectangle
size.!
PUT (3.2>-(5
.B)
.V -PSET
READ Reads the next item in DATA line and assigns it to
specified variable.
READ
At
READC iB
REM
Allows
insertion
of
comment in program line. Everything
after REM is ignored
by
Computer.
REMTHIS IS IGNORED
10?!!*
:REM IGNORE
Allows program line
RENUM
newllne, startline, increment
renumbering.
RENUM 1000 i5 il00
RESET (x.y) Resets a point.
RESET ( Id .15)
RESTORE Sets the Computer's pointer back to first item on the
first
DATA
line.
RESTORE
RETURN Returns the Computer from subroutine
to
the BASIC
word
following
GOSUB.
RETURN
RUN Executes a program.
RUN
SCREEN screen-type, color-set Selects
either graphics
(
1
)
or text
(0)
screen and color-set
(0 or
1
).
SCREEN 1 .1
SET
(x.y.c) Sets a dot at specified text screen
location
to
specified color.
SET( Id .13 .3)
SKIPF Skips to next program on cassette tape, or to end of
specified program.
SMPF"PR0GRAM"
SOUND tone, duration
duration.
SOUND 128
.3
Sounds specified tone for specified
STOP
Stops execution
of
a program.
STOP
TROFF Turns off program tracer.
TROFF
TRON Turns on program tracer.
TRON
Radio
/hack
Printed in
the U.S.A.
8759101