Chapter
9
I
Introduction to BASIC Keywords
Statement Description
LIST
LLIST
LOAD
LOCATE
LPRINT
LPRINT USING
LSET
MERGE
MID$
MKDIR
NAME
NEW
NOISE
ON
COM
GOSUB
ONERRORGOTO
ON/GOSUB
ONiGOTO
ON KEY0 GOSUB
ON PEN GOSUB
ON PLAY0 GOSUB
ON STRIGO GOSUB
ON TIMER0 GOSUB
OPEN
OPEN “COM
OPTION BASE
OUT
lists
a
program
to
the display
or
printer.
prints
a
program on the printer.
loads
a
program from disk.
positions the cursor on the screen.
prints data at the printer.
prints data at the printer in a specified
format.
moves data (and left-justifies it)
to
a field
in
a
direct access file buffer.
merges a disk program with a resident
program.
replaces a portion
of
a string.
creates a directory.
renames a disk file.
erases a program from RAM.
generates noise through a TV monitor’s
speaker.
branches
to
a subroutine when activity
occurs on the communication channel.
sets up an error-trapping routine.
evaluates an expression and branches
to
a subroutine.
evaluates an expression and branches
to
another program line.
branches
to
a subroutine when a specific
key is pressed.
branches
to
a subroutine when the light
pen
is
activated.
branches
to
a subroutine when music
buffer contains fewer than the specified
number
of
notes.
branches
to
a subroutine when a joystick
button is pressed.
branches
to
a subroutine when timer
equals the specified number.
opens
a
disk file.
opens a communications file.
declares the minimum value
for
array
subscripts.
sends a byte
to
a machine output port.
89