You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Purpose

Used to reset the flags initially set by the SELECT code. Passed to the filing systems in order to allow them to clear or reset any parameters they may require.

Arguments

Argument

Input/Output

Value

CODE

Input

9

 

Output

unchanged

BFS

Input

BFS List

 

Output

unchanged

HANDLE

Input

file handle

 

Output

unchanged

NAME

Input

null

 

Output

unchanged

FMC

Input

select pointer

 

Output

unchanged

RECORD

Input

null

 

Output

unchanged

STATUS

Input

null

 

Output

always returns true

Called by

BASIC+ CLEARSELECT statement, BASIC+ SELECT processor on termination of a READNEXT, exiting from the debugger.


OPEN.FILE

Purpose

Used to create a file handle for subsequent access by record-oriented calls such as READ.RECORD, WRITE.RECORD, etc.

Arguments

Argument

Input/Output

Value

CODE

Input

11

 

Output

unchanged

BFS

Input

BFS List

 

Output

unchanged

HANDLE

Input

media map handle

 

Output

unchanged

NAME

Input

filename*account, as read from @FILES<2> and @FILES<3>

 

Output

unchanged

FMC

Input

null

 

Output

unchanged

RECORD

Input

null

 

Output

file handle for file

STATUS

Input

1

 

Output

true if the file handle is successfully constructed, false if the handle cannot be constructed and verified

Once an OPEN.FILE call has been made, the file handle for an opened file is stored as field five of the @FILES file entry. Subsequent BASIC+ OPEN statements do not make this OPEN.FILE call if a file handle for the file is already available.

Called by

BASIC+ OPEN statement

  • No labels