Chapter
9
I
Introduction to BASIC Keywords
Statement Description
PAINT/Graphics
PALETTEiGraphics
PALETTE USING/
Graphics
PCOPY
PEN/Trap
PLAY
PLAYiTrap
POKE
PRESET/Graphics
PRINT
PRINT USING
PRINT#
PRINT# USING
PSETiGraphics
PUT/Communications
PUTiGraphics
RANDOMIZE
READ
REM
RENUM
RESET
RESTORE
RESUME
RETURN
RMDIR
RSET
RUN
fills in an area of the screen with a se-
lected color.
changes the color associated with a color
number.
changes the colors associated with
more
than one color.
copies one video page
to
another.
controls light
pen
event trapping
plays musical notes.
controls background music event
trapping.
writes a byte into a memory location.
draws a point in color at a specified posi-
tion on the screen.
lists data
to
the display.
lists data
to
the display in a specific
format.
writes data
to
a sequential access file.
writes data
to
a sequential access file us-
ing the specified format.
draws
a
point on the screen at a specified
position.
puts a record into a direct access file or
transfers a number
of
bytes
to
a commu-
nications file.
transfers graphic images from the mem-
ory
to
the screen.
reseeds the random number generator.
reads data stored in the DATA statement
and assigns
it
to
a variable.
inserts a remark line in a program.
renumbers a program.
closes all open files on all drives.
restores the DATA pointer.
resumes program execution after an er-
ror-handling routine.
returns from a subroutine
to
the calling
program.
removes a directory.
moves data (and right-justifies it)
to
a
field in a direct access file buffer.
executes a program.
90