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 READO.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

 

  • No labels