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 #282 background imageLoading...
Page #282 background image
Chapter
10
I
BASIC
Keywords
PUT
Statement
PUT
[#lbuffr[,recordl
Puts
a
record
in
a
direct access disk file.
Buffer
is the number assigned
to
the file when you opened it.
The number sign
(#)
is optional. It is provided
for
compatibility
with other BASICs.
Record
is the record number you want
to
write to the file. It is
an integer in the range
1
to
16,777,215.
If you omit
record,
the
current record number is used.
If
record
is higher than the end-of-file record number, then
rec-
ord
becomes the new end-of-file record number.
The
first
time you use PUT after opening a file you must specify
the
record.
The
first
time you access
a
file via
a
particular buffer
the next record is set equal
to
one greater than the last record
accessed.
See Chapter
7,
“Disk Files,” for programming information.
Examples
PUT 1
writes the next record from Buffer
1
to
a
direct access file.
PUT 1
,25
writes Record
25
from Buffer
1
to
a
direct access file.
280

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