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 #244 background imageLoading...
Page #244 background image
Chapter
10
I
BASIC
Keywords
OPEN
Statement
OPEN
mode,[
#]buffer,[pathname][dev:][,record
length]
OPEN
[pathname][dev:l
[FOR
model
AS
[#]buffer
[LEN
=
record
length1
Establishes an input/output path
for
a file
or
device.
Buffer
is an integer in the range
1
to
15.
It
specifies the 110
buffer in memory
to
use when accessing the file. The number
sign
(#)
is optional.
It
is
provided
for
compatibility with other
BASICs.
Pathname
is a standard file specification as described in Chapter
1.
If you omit
pathname,
you must include
deu:.
deu:
specifies the device
to
be opened for communication.
Record
length
is an integer in the range
1
to
32768
that sets the
record length for direct access files. If you omit
record
length,
BASIC assumes
a
default record length of
128
bytes.
Do
not
use
this option with sequential access files.
Mode
specifies any of the following:
0
or
OUTPUT
I
or
INPUT
A
or
APPEND
R
or
RANDOM
sequential output mode
sequential input mode
sequential output and extend mode
direct inputloutput mode
In the first form
of
the syntax, you must use the abbreviated
form of
mode,
and
it
must be enclosed in quotation marks.
In the second form of the syntax, you must specify the complete
word
for
mode.
You may not specify RANDOM. If you want
to
use direct access in the second form of the syntax, omit
mode.
242

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