Page History
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
Argument | Input/Output | Value |
CODE | Input | 28 |
| Output | unchanged |
BFS | Input | BFS list |
| Output | unchanged |
HANDLE | Input | file handle |
| Output | unchanged |
NAME | Input | null |
| Output | unchanged |
FMC | Input | 0 |
| Output | record count |
RECORD | Input | null |
| Output | unchanged |
STATUS | Input | 0 |
| Output | true if BFS is providing a record count in the FMC argument, false if the call is not supported by the BFS |
Info |
---|
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