Open a binary file for use with %WRITE
.
No options
Parameter
NAME = text | Name of file to be opened for binary output using %WRITE . |
Description
%OPEN
has a single parameter, NAME
, which specifies the name of a file to be opened in binary mode for output by the %WRITE
command. If the file already exists, it is deleted, and then reopened as a new file. The file can be used to communicate data to other programs that read in data in binary form. For example, it is used by FSPREADSHEET
to write spreadsheet files.
The file should be closed by the %CLOSE
directive when output has been completed. The %FPOSITION
command can be used to query the current position in the file.
Options: none.
Parameter: NAME
.
See also
Directives: %CLOSE
, %FPOSITION
, %WRITE
.
Commands for: Input and output.