Vector Basic Interpreter Basic 80 Reference Manual - page 164
of
190
Returns the number of
records
present
in
the
last
extent
read or written.
If the file does
not exceed.one extent
(128
records),
then
LOF
returns the true length of the file.
0.6
!2E.
With CP/M, the EOF function may be used with
random
files.
If
a
GE'!'
is done past the end of file.,EOF will return -1.
This may be used to find the size of a file using
a
binary
search or other algorithm.
1.
CSAVE and CLOAn are not implemented.
2.
To return
to
CP/M,
use
the
SYSTEM
command
or
statement.
SYSTEM
closes
all
files
and
then
performs
a
CP/M
warm
start.
Control-C
always
returns to MBASIC, not to CP/M.
3.
FRCIN'!'
is at 103 hex and
MAKIN'!' is
at
105
hex.