Table of Contents

CREATE.FILE

Purpose

Used to establish a new file.

Arguments

ArgumentInput/OutputValue
CODEInput12
Outputunchanged
BFSInputBFS List
Outputunchanged
HANDLEInputMedia Map Handle
Outputunchanged
NAMEInputfilename*account, as read from @FILES<2> and @FILES<3>
Outputunchanged
FMCInputfile creation options (BFS specific) passed as a dynamic array
Outputunchanged
RECORDInputnull
Outputunchanged
STATUSInput1
OutputTRUE$ if the file is successfully created

Note

This call can be trapped by an MFS only if the MFS is installed on the volume being accessed. File creation options are passed as a dynamic array. The first field contains the options, and the second field contains the literal "D" if a dictionary file is being created.

Called by

BASIC+ CREATE_TABLE statement