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 160
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
Sample
Program
1310 A$
=
"WILLIAM WILSON"
1320 GET
1
j
X:
X=K+1
1330
IF
N$
=
A$
THEN PRINT "FOUND
IN
RECORD" LOC(i): CLOSE:
END
1340 GOTO 1320
This
is
a portion
of a program.
Elsewhere
the
file
has
been opened and
fielded.
n$
is
a
field
variable.
If
n$ matches a$
the
record
number
in
which
it
was
found
is
printed.
LOF
Get End-Of-Fie Record
Number
This function
tells
you
the
number
of
the
last, i.e.,
highest
numbered,
record
in
a
file. It is
useful
for
both
sequential
and
random
access.
For example,
during
random
access
to
a pre-existing
file,
you
often
need
a
way
to
know when
you've
read
the
last
valid record,
lof
provides
a
way.
lof
is
valid as
soon
as a
previously created
file is
opened.
If
a
file is
extended,
lof
is
not
valid
until
a
get
is
executed.
Examples:
10
OPEN
"R"
,1
("UNKNOWN/TXT"
20
FIELD
1
(255 AS A$
30
F0RIX=1
TO
L0F(1)
40
GET
1
>I1
50
PRINT
A$
60
NEXT
In
line
30, LOF(i)
specifies the
highest record
number
to
be
accessed.
Note:
If
you
attempt
to
get
record
numbers beyond
the end-of-file record,
basic
simply
fills
the
buffer with
hexadecimal
zeros,
and no
error
is
generated.
142
Previous
Page
Next
Page
1
...
159
160
161
162
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