EasyManua.ls Logo

Texas Instruments TI-99/4A - Page 142

Texas Instruments TI-99/4A
204 pages
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...
OPEN
Cassette Recorder Information
file'number'" -
any
number
between t
and
255 Inclusive
fiJe'name* -
"CSt"
or
"CS2"
file-organization -
SEQUENTIAL
file-type -
INTERNAL
(preferred)
or
DISPLAY
open-mode* -
INPUT
or
OUTPUT
record·type* -
FIXED
*This specification is required.
For
cassette
tape
records. you
may
specify any length up to
t92
positions. However, the
cassette
tape
device uses
records
with 64,
128.
or
192
positions
and
will
pad
the
record
you
specify
to the
appropriate
length.
Thus.
if
you specify an
83'position
cassette
record.
the
computer
will actually write a 128'position record.
If
the
record
length
is
not
specified.
a 64-po:siLiulI
recurd
leIlgth
i~
assumed.
For
cassette
devices.
the
computer
nOF:S
not
compare
the file
specifications in the
OPEN
statement
to the
characteristics
of
an
existing file.
Whenever the
computer
performs the
OPEN
statement
for a
cassette
tape
device. you will receive instructions
on
your
screen
for
activating the recorder.
as
shown
on the right.
Note: Only
"CSt"
can
be
specified for an
INPUT
file. Both '"CSt"
and
'"CS2"
can
be used for
OUTPUT
files.
II-122
Examples:
>NEOI
>100
OPEN
#2:"CS1",INTERNAL,1
NPUT,FIXED
program
Lines
>290
CLOSE
112
>3QO
END
>RUN
*
REOIIND
CASSETTE
TAPE
CS1
THEN
PRE::'::'
ENTER
* PRESS CASSETTE
PLAY
CS1
THEN PRESS ENTER
rest
of
program
run
PRESS
CASSETTE
sTOP
(S1
THEN PRESS ENTER
**
DONE
**
User's
Reference
Guide

Other manuals for Texas Instruments TI-99/4A

Related product manuals