READO.RECORD
Purpose
Used to read a record that will not be updated (read only). This code is provided for filing systems that might use buffers to store records already read.
In an MFS, this code is typically implemented in the same manner as a READ code, with all arguments passed through to subsequent filing systems as if the code were READ.RECORD.
Arguments
Argument | Input/Output | Value |
---|---|---|
CODE | Input | 2 |
Output | unchanged | |
BFS | Input | BFS List |
Output | unchanged | |
HANDLE | Input | File Handle |
Output | unchanged | |
NAME | Input | Record Key |
Output | unchanged | |
FMC | Input | unassigned |
Output | unchanged | |
RECORD | Input | Current value of @RECORD |
Output | Record read from file (null if no record found) | |
STATUS | Input | unassigned |
Output | true if record was read successfully |
Called by
BASIC+ READO statement