guides:programming:programmers_reference_manual:record_count_mfs_code

RECORD.COUNT

If supported by the BFS, used to return a record count for the file. The call is typically fulfilled within the filing system by reading a stored parameter.

ArgumentInput/OutputValue
CODEInput28
Outputunchanged
BFSInputBFS list
Outputunchanged
HANDLEInputfile handle
Outputunchanged
NAMEInputnull
Outputunchanged
FMCInput0
Outputrecord count
RECORDInputnull
Outputunchanged
STATUSInput0
Outputtrue if BFS is providing a record count in the FMC argument, false if the call is not supported by the BFS

This call was designed specifically for RTP57, which stores a record count as part of the file header. If the BFS does not support the call, a status of false is returned. In this case, processes that require a record count should execute a READNEXT loop to return a true record count.

BASIC+ Get.RecCount function, or a direct call

  • guides/programming/programmers_reference_manual/record_count_mfs_code.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1