Futurebasic/Language/Reference/rec
(Redirected from Futurebasic/language/reference/rec)
Syntax
editREC(fileID)
Description
editThis function returns the record number of the record where the "file mark" is currently located, in the open file specified by fileID. The first record in the file is considered Record #0. To calculate the record number, REC uses the record length that was specified in the OPEN statement when the file was opened. If no record length was specified, a default length of 256 bytes is used. If you specified a record length of "1" when you opened the file, REC returns the file mark's byte position within the file.
Note: To determine the file mark's offset from the beginning of the record, use the LOC function.
See Also
editRECORD; LOC; OPEN