Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

CLEARFILE

...

Purpose

...

Used to delete (clear) all records from a file but retain the file in the system.

...

Arguments

...

Argument

...

Input/Output

...

Value

...

CODE

...

Input

...

10

...

 

...

Output

...

unchanged

...

BFS

...

Input

...

BFS List

...

 

...

Output

...

unchanged

...

HANDLE

...

Input

...

file handle

...

 

...

Output

...

unchanged

...

NAME

...

Input

...

null

...

 

...

Output

...

unchanged

...

FMC

...

Input

...

null

...

 

...

Output

...

unchanged

...

RECORD

...

Input

...

null

...

 

...

Output

...

unchanged

...

STATUS

...

Input

...

null

...

 

...

Output

...

true if the file is successfully cleared


...

Called by

...

BASIC+ CLEARFILE statement

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

...