Basic
ERROR
code
Simulates a specified error during program execution.
Code
is an integer expression in the range 0 to 255 specifying one
of BASICās error codes.
ERROR
1
EXP(number)
Returns the natural exponent of
number,
that
is,
e
(base of natural
logarithms) to the power of
number. Number
must be less than or
equal to 88.02968.
PRINT EXP(-2) A=EXP(-6)
FIELD
buffer, length
AS
variable [,length
AS
variable,
...I
Divides a direct access buffer into fields
so
that you can send data
from memory to disk and from disk to memory. Each field is iden-
tified by a string
variable
and is the
length
you specify.
Length
must
be an integer in the range
1
to 255.
FIELD
3,
128
AS
A$,
128
AS B$
FILES bathname]
Displays the names of the files and directories on a disk.
If
you specify
pathname,
BASIC lists all files that match that
pathname.
If
you omit the filename when specifying
pathname,
BASIC lists all files and directories in the specified directory. Default
=
all files and directories in the current directory on the current
drive.
FILES FILES
ā\BOOKS\ā
FIX(number)
Returns the truncated integer of
number.
PRINT FIX
(2.6)
Z=FIX(B)
Tandy
1000
33