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 61
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
THIMMING THE FAT
OUT OF
DIRECT
ACCESS
f
Jfi€JUM*U*Utf'
off
/
%
bFF!C£/DAT"
record
1
S
APER
1
*office:/dat
Coda,
^&tr/6
MKN$
converts
a
number
to
a
coded
string.
Regardless
of
how
long the
number
is,
MKN$
will
always
convert
it
to
a string that
is
five
bytes
long.
For example,
change
line
30
to
LSET
a
number
with
more
than
five digits:
30
LSET A$
=
MKN$(12345G7B9)
Erase
memory,
KILL
"OFFICE/DAT," and
type
and
RUN
the
program. This
is
what
it
stores
in
your
disk
file:
I
^CfcflCE/mT
9
'
To read
this
program
in,
you need
to
decode
the
string.
LOAD
the "Fielded
INPUT
Program" and
make
these
changes
to
it:
10
OPEN
"D"
,
#1
,
"OFFICE/DAT"
,
10
20
FIELD
*i
,
5
AS A*
,
5
AS B$
50
PRINT "RECORD"
R
"
:
"
;
CYN(A$)i
B$
and
RUN
it
.
.
.
CVN
(in line
50)
decodes
A$
to
the
number
it
represents.
Note:
The Computer
only
sees the
first
9
digits
of
a
number.
It
rounds
the
rent
off.
PROGRAMMING
EXERCISE
#0.3
Write
a
fielded direct
access pro-
gram
which
will
store the
popula-
tions
of
all
the countries.
Make
each record
contain 15 bytes with
these
two
fields:
1.
country
—
10 bytes
2.
population
—
5 bytes
WBPI^^^H^BOWi^PBBB
--—
5 Jswbu
Ofdc
j*v /23f56>7&7
"OFFICE/
OfiT"
PROGRAMMING
EXERCISE
#9.4
Write a
program
which
will
input
the Hie
you
created
in
Exercise
#9.3.
CHAPTER CHECKPOINT
1.
If
you do
not
specify the
record
length,
how
many
bytes
will
each record
contain?
2.
Why
must you
include a
FIELD
line
when
you
LSET
your
data?
3.
Howmanybytes
will
MKN$
convert a
num-
ber
into?
51
Table of
Contents
Previous
Page
Next
Page
1
...
58
59
60
61
62
63
64
65
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 HX Technical Reference Manual
(426 pages)
Desktop Tandy Color Computer 3 User Manual
(49 pages)
Desktop Tandy Color Computer 3 Service Manual
(129 pages)
Desktop Tandy 102 Owner's Manual
(152 pages)
Desktop Tandy 102 Technical Reference Manual
(82 pages)
Desktop Tandy 1000 Technical Reference Manual
(497 pages)
Desktop Tandy 1000 Programmer's Reference Manual
(251 pages)
Desktop Tandy 1000 Basic Reference Manual
(411 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