Vector Basic Interpreter Basic 80 Reference Manual - page 82
Purpose:
Remarks:
OPEN
Disk
A disk file must be OPENed before any
disk
operation
can
be performed on that f~le.
allocates a buffer
for
I/O
to
the
file
determines
the mode of access that will be
with the buffer.
I/O
OPEN
~d
used
is
a
string
expression
whose
character is one of the following:
o
specifies sequentia~ output mode
I
specifies sequential input mode
R
specifies random input/output mode
an
integer
expression
whose
value is between one and fifteen.
The number is
then associated with the file for as long as
it
is
OPEN
and
is
used
to refer other disk I/O
statements to the file.
containing
a
name
that
conforms
to your operating system's
rules for disk filenames.
an
integer
expression
which,
if
included,
sets
the
record
length
for r~dom
files.
The default record length is 128
bytes.
See also page A-3.
A file can be OPENed
for
sequential
input
or
random
access on more than one file number at a
time.
A file may be OPENed for output, however,
on only one file number at a time.