Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/rec

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Syntax REC(fileID) Description This 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 RECORD; LOC; OPEN