EasyManua.ls Logo

Tandy TRS-80 - Page 77

Tandy TRS-80
104 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
.APPENDIX B
CHAPTER 7
1.
Records are
equal-sized
divisions in your
disk file
where you
can put
your
data.
Since each is the
same
size, the
Computer can use
them to access
your
data
directly.
2. Fields
are subdivisions
of records.
3. In a
sequential access
file, the
only locations the
Computer
knows are the
beginning and
ending of
the file.
In
a
direct access
file, it can
determine where
each
individual record
is
(by
the size of
the records).
4. Since
each
record of the file has a
known location, the
Computer can access
it without
going through the
preceding
parts of the file, as
it would if the file was
sequential.
5.
A comma causes the
Computer
to
space
over
to
the
next print
column before printing
another
data
item.
6. A
semicolon
causes
the Computer to
print the data
items immediately
next
to
each other.
7.
A string is printed
simply
as
the string
itself.
It
is not
enclosed in quotation marks.
CHAPTER
9
1. The Computer will set
the record length at 256 bytes.
2. The
data
must have a
field with
a
specific
length for
it to be LSET
This length is assigned
in the FIELD
line.
3.
MKN$ converts
a
number
into
a
5-byte coded
string.
CHAPTER 8
1.
The
minimum size of a
disk file is
2,304
bytes (one
granule). Since
the Computer
allocates disk space in
granules, a
file can be no
smaller than one
granule.
2.
The Computer
first WRITEs
the number's sign (a
minus sign if it's
negative or a
blank space if it's pos-
itive). Then it
WRITEs the
number itself. Immedi-
ately
following the
number, it
WRITEs on trailing
blank space.
3. A
string is
written with
quotation marks
around it.
4. INPUT
inputs only the data
items listed,
while LINE
INPUT inputs
everything up to
the (ENTER)
character.
CHAPTER 10
1. You must type an A at
the end of your
SAVE com-
mand
if
you
plan to ever
MERGE it with a
program
in memory.
2. The line
number of the program saved
on disk
prevails.
3. The
Computer reserves two
buffers when you
power-
up.
4.
The Computer
reserves
a
total of 256 bytes
of
buffer
space
when you
power-up.
5.
FILES
3,
3000 get the
Computer to
reserve
3
buffers
with
a
total of 3000 bytes
of buffer space.
67

Related product manuals