EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
Chapter
10
I
BASIC
Keywords
Statement
CLOSE
[buffer,
...I
Closes access
to
a
disk file.
Buffer
is the number assigned
to
the file when you opened it. If
you omit
buffer,
BASIC closes all open files.
This command terminates access to a file through the specified
buffer. If
buffer
has not been assigned by an OPEN statement,
then CLOSE
buffer
has no effect.
Do not remove a disk that contains an open file. Close the file
first,
because the last records may not have been written yet.
Closing the file writes the data currently in the buffer if it has
not been written already.
Note that CLEAR, END, NEW, RESET, and SYSTEM automat-
ically close all files when executed.
See also OPEN and Chapter
7,
“Disk Files.”
Examples
CLOSE
1,
2,
8
terminates the file assignments
to
Buffers
1,
2,
and
8.
You can
now assign these buffers
to
other files with OPEN statements.
CLOSE
FIRST%
+
COUNT%
terminates the file assignment
to
the buffer specified by the sum
FIRST%
+
COUNT%.
119

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals