Sign In
Upload
Download
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
Radio Shack Manuals
Desktop
TRS-80
Owner's manual
Radio Shack TRS-80 Owner's Manual page 169
Mini-disk operation disk operating system disk basic programming language
Hide thumbs
Also See for TRS-80
:
Reference manual
(274 pages)
,
User manual
(236 pages)
,
Service manual
(199 pages)
1
2
3
4
5
6
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
page
of
182
Go
/
182
Bookmarks
Advertisement
DISK BASIC
Ik,-,-:
J
mmmmm®
m
The
buffer
is
a waiting area
for the data.
Before
writing data
to
a
file,
you must
place
it
in the
buffer
assigned
to
the
file.
After reading data
from
a
file,
you
must
retrieve
it
from
the
buffer.
As
you can
see
from
the
sample put and get
statements above, data
is
passed
to
and
from
the
disk
in
records.
The
size
of
each
record
is
determined
by an
Open
statement.
Storing
Data
In
a Buffer
You
must
place the
entire
record
into the buffer
before putting
its
contents
into
the disk
file.
This
is
accomplished by
1)
dividing the buffer
up
into
fields
and
naming
them,
then
2)
placing
the string or
numeric
data
into the
fields.
For example, suppose
we
want
to store
a glossary
on
disk.
Each
record
will
consist
of
a
word
followed
by
its
definition.
We
start
with:
100
0PEN"R"»
1>
"GLOSSARY/BAB"
110
FIELD
1,
IB
AS
WD$t 240
AS
MEANING*
Line 100 opens
a
file
named
glossary/bas
(creates
it
if
it
doesn't already
exist);
and
gives buffer
1
direct
access
to
the
file.
Line 110
defines
two
fields
onto
buffer
1:
wd$
consists
of
the
first
16 bytes
of
the buffer;
meanings
consists
of
the
last
240
bytes.
wd$
and
meanings
are
now
field-names
What
makes
field
names
different?
Most
string
variables point
to
an
area
in
memory
called the
string
space.
This
is
where
the
value of
the
string
is
stored.
Field
names, on
the
other
hand,
point
to
the buffer area
assigned
in
the
held
statement.
So,
for
example,
the statement:
10
PRINT WD*5
":"
i
MEANING*
displays the contents
of
the
two
buffer
fields
defined above.
These
values
are
meaningless
unless
we
first
place data
in
the buffer, lset,
rset
and
get
can
all
be used
to
accomplish
this
function.
We'll
start
with
lset and
rset,
which
are
used
in
preparation
for
disk
output.
Our
first
entry
is
the
word
"left-justify"
followed
by
its
definition.
100
0PEN"R"»
1»
"GLOSSARY/BAS"
110
FIELD
1»
IS
AS
WD*, 240
AS
MEANING*
120
LSET
WD*="LEFT-JUSTIFY"
130
LSET
MEANING*="T0
PLACE
A
VALUE
IN
A
FIELD FROM LEFT
TO
RIGHT1
IF
THE DATA
DOESN'T FILL
THE
FIELD, BLANKS
ARE
ADDED
ON THE
RIGHT?
IF
THE DATA
IS
TOO LONG, THE EXTRA
151
Previous
Page
Next
Page
1
...
168
169
170
171
Advertisement
Related Manuals for Radio Shack TRS-80
Desktop Radio Shack TRS-80 II Technical Reference Manual
(190 pages)
Desktop Radio Shack TRS-80 Operation Manual
(169 pages)
Desktop Radio Shack TRS-80 Technical Service Data
Model i (level ii) (includes computer model 26-1001, monitor mode; 26-1201 and expansion enterface model 26-1140) (83 pages)
Laptop Radio Shack TRS-80 Service Manual
5-meg hard disk (74 pages)
Handhelds Radio Shack PB-100-TRS-80- Owner's Manual
(73 pages)
Computer Hardware Radio Shack TRS-80 User Manual
Color computer plug 'n power appliance/light controller (60 pages)
Measuring Instruments Radio Shack TRS-80 Owner's Manual
(44 pages)
Desktop Radio Shack TRS-80 Quick Reference Manual
(38 pages)
Handhelds Radio Shack TRS-80 Service Manual
Pc-4 pocket computer and cassette interface (34 pages)
Desktop Radio Shack TRS-80 Operation Manual
Color computer (33 pages)
Recording Equipment Radio Shack TRS-80 Owner's Manual
Pc-4 cassette interface (24 pages)
Controller Radio Shack TRS-80 II Technical Reference Manual
Revised floppy disk controller (24 pages)
Recording Equipment Radio Shack TRS-80 Owner's Manual
Multi-pak interface for color computer (15 pages)
Computer Hardware Radio Shack Telephone Interface II Manual
System (14 pages)
Computer Hardware Radio Shack TRS-80 Instruction Manual
Computer cassette tape recorder (10 pages)
Desktop Radio Shack TRS-80 Quick Reference Manual
Color computer. micro-computer system (4 pages)
Related Products for Radio Shack TRS-80
Radio Shack TRS-80 MICRO
Radio Shack TRS-80 PC-3
Radio Shack TRS-80 PC-4
Radio Shack TRS-80 III
Radio Shack TRS-80 Model 4
Radio Shack TRS-80 VIDEOTEX
Radio Shack TRS-80PC-4
Radio Shack TRS-80 Color Computer 2
Radio Shack TRS-80 X-PAD GT-116
Radio Shack TRS-80 PTC-64
Radio Shack TRS-80 Model 100
Radio Shack TRS-80 Model 16
Radio Shack TRS-80 Model 12
Radio Shack TRS-80 CR-510
Radio Shack TRS-80 26-3503
Radio Shack TRS-80 26-3501
This manual is also suitable for:
Model iii
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