guides:programming:programmers_reference_manual:open_file

OPEN.FILE

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

ArgumentInput/OutputValue
CODEInput11
Outputunchanged
BFSInputBFS List
Outputunchanged
HANDLEInputMedia Map Handle
Outputunchanged
NAMEInputfilename*account as read from @FILES<2> and @FILES<3>
Outputunchanged
FMCInputnull
Outputunchanged
RECORDInputnull
OutputFile Handle for file
STATUSInput1
Outputtrue 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.

  • guides/programming/programmers_reference_manual/open_file.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1