Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Tandy Manuals
Desktop
TRS-80 Model II
Owner manual & programming manual
Tandy TRS-80 Owner Manual & Programming Manual page 45
Color computer disk system
Hide thumbs
Also See for TRS-80
:
Technical reference manual
(204 pages)
,
Service manual
(60 pages)
,
Owner's manual
(16 pages)
1
2
3
4
5
6
Table Of Contents
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
page
of
104
Go
/
104
Contents
Table of Contents
Bookmarks
Table of Contents
Advertisement
A MORe
DIRECT
APPROACH
communication
for
output
or input.
The
"D"
suf-
fices
for
both.
Line 20
WRITEs
"J.
DOE"
to
buffer #1.
Since
this
program
is
open
for
direct access,
"J.
DOE"
will
remain
in
buffer
#1
until
the
program
sends
it
elsewhere.
Line 30 does
just
that.
It
PUTs
the contents of
buffer
#1
into
the disk
file
as record
2:
Notice our
drawing shows
only
two
records
in
the
file.
GET
record
4.
Type:
34 GET
»1
.
a
and
RUN
.
.
.
The Computer
gives
you an
IE
(Input
past the
End
of
the
File) error.
This
is
because
the
last
record the
program
PUT
in
the
file
was
record
number
2.
Hence,
record 2
became
the
end
of the
file.
it
Note:
Didn't
get
this
error?
You must
already have
"NAMES/DAT"
file
on your
disk
with
three
or mo.
records.
:
record
1
"
J
DOE"
record
2
/
W^MES/DAT"
^
To
PUT
more
records
in
the
file,
add
these
lines.
Then
RUN
the
program:
31
WRITE
»1
t
"BILL SMITH"
32 PUT
si
,
a
Now
your
"NAMES/DAT"
file
will
have
these four
records:
At
this point,
"J.
DOE"
is
no
longer
in buffer #1.
It is
in
record 2 of
the disk
file.
Line
34
GETs
record
2
and
reads
it
back
into
buffer
#1.
Now
"J.
DOE"
is
in
both the disk
file
and
buffer
#1.
Line 36
INPUTs
the record
from
buffer
#1
into
main
memory
and
labels
it
A$.
Now
"J.
DOE"
is
in
both the disk
file
and
main
memory.
It
is
no
longer
in
buffer
#1.
With
"J.
DOE"
in
main memory,
line
38 can
PRINT
it.
record
1
"
J
.
DOE"
.
record 2
record 3
"BILL SMITH"
record 4
Note:
In
the
sequential access
programs
in
Chapters
5
and
6,
you
didn't
need
PUT
and GET. The Com-
puter did
this
automatically.
The
OPEN
line specified
whether
the buffer
should
output
(PUT)
data
into the
disk
file
or input
(GET)
data
from
the
disk
file.
JtMdb
X
W/)M£S
r
5/DA7
>*
35
Table of
Contents
Previous
Page
Next
Page
1
...
42
43
44
45
46
47
48
49
Advertisement
Table of Contents
Related Manuals for Tandy TRS-80
Desktop Tandy TRS-80 Model II Technical Reference Manual
(204 pages)
Printer Tandy TRP-100 Operation Manual
(83 pages)
Storage Tandy TRS-80 Service Manual
(60 pages)
Desktop Tandy TRS-80 Service Manual
(36 pages)
Video Game Controller Tandy TRS-80 Owner's Manual
Color computer deluxe joystick (16 pages)
Desktop Tandy TRS-80 Model 16 Service Manual
(92 pages)
Desktop TANDY Color Computer 3 TRS-80 Diagnostic Manual
Based on the motorola 6809 (13 pages)
Desktop Tandy Radio Shack TRS-80 Owner's Manual
(12 pages)
Desktop Tandy 1000 Programmer's Reference Manual
(251 pages)
Desktop Tandy 1000 HX Technical Reference Manual
(426 pages)
Desktop Tandy Color Computer 3 User Manual
(49 pages)
Desktop Tandy 1000 Basic Reference Manual
(411 pages)
Desktop Tandy 1200 HD User Manual
(171 pages)
Desktop Tandy 1000 User Manual
(337 pages)
Desktop Tandy 1000 TL3 User Manual
(63 pages)
Desktop Tandy Tandy 600 Owner's Manual
(307 pages)
Related Products for Tandy TRS-80
Tandy TRS-80 Model 16
Tandy TRP-100
Tandy TRC-502
Tandy Realistic TRC-88
Tandy Radio Shack Realistic TM-1001
Tandy 1000 HX
Tandy 1000 MS-DOS
Tandy 1000 SL
Tandy 1000 TL3
Tandy 1000SX
Tandy 102
Tandy 1200 HD
Tandy 2000
Tandy 26-3334
Tandy 600
Tandy 6000 HD
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL