NAME
-
bget - get a random file record
SYNOPSIS
-
bget(recnum)
double recnum;
DESCRIPTION
-
Bget reads record number recnum from the current file (see
initio(io)). Records of a random file are of the same length as the
buffer and are numbered sequentially starting with one. If recnum is
zero, then the read is sequential, in other words, the next record is read.
The pointers within the buffer are reset.
This function resets the current file.
This function implements the GET statement.
SEE ALSO
-
initio(io)
get(stmt)
DIAGNOSTICS
-
Error 54 (Bad file mode) is generated if the file is not open for random I/O.
from
The Basmark QuickBASIC Programmer’s Manual
by
Lawrence Leinweber