Chapter
9
I
Introduction to
BASIC
Keywords
Statement Description
EDIT
END
ENVIRON
ERASE
ERL
ERR
ERROR
FIELD
FILES
FOR/NEXT
GET
GET/Graphics
GOSUB
GOT0
IFITHENIELSE
INPUT
INPUT#
INPUT$
IOCTL
KEY
KEYiTrap
KILL
LCOPY
LET
LINEiGraphics
LINE INPUT
LINE INPUT#
edits program lines.
ends
a
program.
modifies BASIC’s Environment String
Table.
erases an array.
returns the number of the line in which
an error occurred.
returns an error code after an error.
simulates the specified error.
organizes a direct access buffer.
displays names of files and directories
on
a
disk.
establishes a program loop.
gets a record from
a
direct access file
or
transfers a specific number of bytes from
a communications file.
transfers graphic images from the screen
to
memory.
transfers program control
to
a
subroutine.
transfers program control
to
the specified
line.
evaluates an expression and performs an
operation if conditions are met.
accepts data from the keyboard.
accepts data from a sequential access de-
vice
or
file.
accepts data from the keyboard or a se-
quential access file.
sends control data
to
a device driver.
assigns
or
displays the current function-
key soft values.
enables key-event trapping.
deletes a disk file.
copies all text data on the screen
to
the
printer.
assigns a value to a variable. (The key-
word LET may be omitted.)
draws a line on the display.
accepts an entire line from the keyboard.
accepts an entire line from a sequential
access file.
88