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 III
Owner's manual
Radio Shack TRS-80 model III Owner's Manual page 142
Mini-disk operation, trsdos disk operating system, disk basic programming language
Hide thumbs
Also See for TRS-80 model III
:
Operation and reference manual
(274 pages)
,
Service manual
(135 pages)
,
Operation manual
(30 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
page
of
163
Go
/
163
Bookmarks
Advertisement
DISK
BASIC
This
function
checks
to
see
whether
all
characters
up
to
the end-of-file
marker
have been
accessed, so
you
can avoid input past
end
errors
during
sequential
input.
Assuming nmexp
specifies
an open
file,
then
EOF(nmexp)
returns
(false)
when
the
eof
record has not
yet
been
read,
and
-
1
(true)
when
it
has
been
read.
Examples
IF
E0F(5) THEN
PRINTEND
OF
FILE"FILENM*
IF
EOF(NM)
THEN CLOSE
NM'Z
The
following
sequence
of
lines
reads
numeric
data
from data/txt
into
the
array a(
).
When
the
last
data character
in
the
file is
read, the
eof
test
in line
30
"passes,"
so the
program
branches
out of
the disk
access loop, preventing
an input
past
end
error
from
occurring.
Also
note
that
the variable
i
contains
the
number
of elements input
into
array a(
).
5
DIM A<100>
'ASSUMING THIS
IS
A
SAFE VALUE
10
OPEN
"I"
tl
*
"DATA/TXT"
20 11=0
30
IF
E0F(
I
)
THEN
70
40
INPUTtti
tfi(IX)
50
n.=n.+i
S0
GOTO
30
70
REM PROGRAM
CONTINUES HERE AFTER
DISK INPUT
LOC
Get Current Record
Number
file
number
is
a
numeric
expression
specifying the buffer
for
a
currently-
opiinrt^
loc
is
used
to
determine
the current
record
number,
i.e.,
the
number
of
the
last
record read
since the
file
was
opened,
loc
is
only
valid
after
a get.
Example
PRINT LOC(l)
141
Previous
Page
Next
Page
1
...
141
142
143
144
Advertisement
Related Manuals for Radio Shack TRS-80 model III
Desktop Radio Shack TRS-80 Model 3 Operation And Reference Manual
Operation and reference manual (276 pages)
Desktop Radio Shack TRS-80 Model III Operation And Reference Manual
(274 pages)
Desktop Radio Shack TRS-80 Model III Service Manual
(135 pages)
Desktop Radio Shack TRS-80 III Service Manual
Microcomputer (134 pages)
Desktop Radio Shack 26-1061 Service Manual
(132 pages)
Desktop Radio Shack TRS-80 Service Manual
Microcomputer (132 pages)
Desktop Radio Shack TRS-80 Model III Operation Manual
(30 pages)
Desktop Radio Shack TRS-80 III Service Manual
Modification kit, first internal disk drive (7 pages)
Desktop Radio Shack 16B System Manual
Built-in hard disk (90 pages)
Desktop Radio Shack TRS-80 Model II Reference Manual
Disk operating system (274 pages)
Desktop Radio Shack TRS-80 II Technical Reference Manual
(190 pages)
Desktop Radio Shack TRS-80 Service Manual
(55 pages)
Desktop Radio Shack TRS-80 Operation Manual
Color computer (33 pages)
Desktop Radio Shack TRS-80 Model 100 Basic Manual
Basic language lab (210 pages)
Desktop Radio Shack TRS-80 16 User Manual
Trsdos-16 disk operating system (274 pages)
Desktop Radio Shack TRS-80 16 Service Manual
(92 pages)
Related Products for Radio Shack TRS-80 model III
Radio Shack TRS-80 PC-4
Radio Shack TRS-80 Model 4
Radio Shack TRS-80 VIDEOTEX
Radio Shack TRS-80 Color Computer 2
Radio Shack TRS-80 Model 16
Radio Shack TRS-80 Model 3
Radio Shack TRS-80 4P Gate Array
Radio Shack TRS-80 Model 16B
Radio Shack TRS-80 DT-1
Radio Shack TRS-80 MC-10
Radio Shack Tandy 1000
Radio Shack TRS-80 X-PAD GT-116
Radio Shack TRS-80 CR-510
Radio Shack TRS-80 26-3503
Radio Shack TRS-80 26-3501
Radio Shack TRS-80 PT-210
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