Download Print this page

Radio Shack TRS-80 Owner's Manual page 143

Mini-disk operation disk operating system disk basic programming language
Hide thumbs Also See for TRS-80:

Advertisement

CLOSE
Close Access
to
tie
Fie
PiT-sw
Mi
?
tissue
trc-in
i
vt;
IS,
mi
raites to
tog
tors
M
?
?^
v.mitttr
(ssojjomi
men
in?;
-U6
*;:s
tpsuae;
If
fl:"»M
-s
e;toiiiSiL
gh
ypfe;;
This
command
terminates access
to
a
file
through
the specified buffer(s).
If
nmexp
has not
been
assigned
in
a previous
open
statement,
then
close
nmexp
has
no
effect.
Examples
CLOSE
I
*2»8
Terminates
the
file
assignments
to
buffers
1
,
2 and
8.
These
buffers
can
now
be
assigned
to
other
files
with
open
statements.
CLOSE
FIRSU+COUNTX
Terminates
the
file
assignment
to
the buffer specified
by
the
sum
(first%
+
count%)
.
Do
not
remove
a
diskette
which
contains
a
file
opened
for
writing
(mode
=
O,
E,
or
R). First close the
file.
This
is
because
the
last
256
bytes
of data
may
not
have been
written
to
disk
yet.
Closing
the
file
will
write the data,
if
it
hasn't
already
been
written.
Any
modification
to
the resident
program
(new,
editing,
load, merge,
etc.)
will
cause
open
files
to
be
closed.
125

Advertisement

loading

This manual is also suitable for:

Model iii