Chapter
9
I
Introduction to BASIC Keywords
Function
HEX$
INKEY$
INP
INSTR
INT
IOCTL$
LEFT$
LEN
LOC
LOF
LOG
LPOS
MID$
MKD$
MKI$
MKS$
OCT$
Description
converts a decimal value
to
a hexadeci-
mal string.
returns the keyboard character.
returns the byte read from a port.
searches
for
a specified string.
returns the integer value of a number.
returns control data from a device driver.
returns the left portion
of
a string.
returns the length of the string.
returns the current disk file record num-
ber
or
the number
of
characters in a com-
munications input queue.
returns the total number
of
bytes in a
disk file
or
the amount
of
free space in a
communication file input queue.
returns the natural logarithm
of
a
number.
returns the position
of
the print head in
the printer buffer.
returns the midportion
of
a string.
converts a double precision value
to
a
string for writing it
to
a direct access
file.
converts an integer value
to
a string for
writing
it
to a direct access disk file.
converts a single precision number
to
a
string
for
writing
it
to
a direct access
file.
converts a decimal value
to
an octal
string.
93