EasyManua.ls Logo

Tandy TRS-80 - Page 56

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...
HOW MUCH CAN ONE DISK HOLD?
Note: There
are
five
blank spaces
between
the
%
char-
acters in
lines
20 and 30.
Counting
the two
%
char-
acters,
this string
field (for
printing PEN and
PAPER) contains
seven
bytes.
Now the
data is already
in an attractive
print for-
mat.
You can
input and
print it using a
simple line
input
program.
Erase memory, type
and RUN:
more programs
which will put the
same
data in
direct access files.
CHAPTER
CHECKPOINT
sen INPUT and
IINT line cause
i a PRINT tine
IINT strings?
10 OPEN
"I"
>
*1
>
20
IF
EOFtl)
=
-1
30
LINE INPUT
»1 *
40 PRINT At
50 GOTO 20
G0 CLOSE
*1
1. What is the
minimum size of a
disk
Sle?
Why can't
it
be
smaller?
9. Hnvr rfnan th* Cnmngter
WJRJtTFf
ntimhe
OFFICE/DAT"
"'""
THEN G0
A*
All of the files
we've
created in this
chapter are
sequential access.
The next chapter
compares
four
m^diM
jftlef}
3.
How
does it WRITE strings
4. What
is the' difference betwi
LINE INPUT?
5.
What does a comma
in a PI
the Computer to do?
6. What does a
semi-colon
it
cause it to do?
7. How does the
Computer PE
46

Related product manuals