Table of Contents

RECORD.COUNT

Purpose

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.

Arguments

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

Note

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.

Called by

BASIC+ Get.RecCount function, or a direct call