Chapter
9
I
Introduction
to
BASIC
Keywords
Function
PEEK
PEN
PLAY
PMAP
POINT
POS
RIGHT$
RND
SCREEN
SGN
SIN
SPACE$
SPC
SQR
STICK
STR$
STRIG
STRING$
TAB
TAN
TIME$
TIMER
USR
VAL
VARPTR
VARPTR$
Description
returns a byte from a memory location.
returns the coordinates of the light pen.
returns the number of notes in the music
buffer.
returns the physical
or
world coordinates.
returns either the color
of
a point or cur-
rent coordinates.
returns the cursor column position on the
display.
returns the right portion
of
a string.
returns a random number.
returns the ASCII code for the character
stored at a specific position on the
screen.
determines the sign
of
a number
returns the sine
of
a number.
returns a string of spaces.
prints spaces
to
the display.
returns the square root of a number.
returns the coordinates
of
the joysticks.
converts a number to a string.
returns the status of the joystick buttons.
returns a string of characters.
positions the video cursor or the print
head at a specified position.
returns the tangent of a number.
sets the time or returns the current time.
returns the number of seconds since
midnight.
calls an assembly-language subroutine.
returns the numeric value of a string.
returns an offset
for
a variable
or
buffer.
returns character form
of
memory ad-
dress of a variable.
94