EasyManua.ls Logo

Texas Instruments TI-99/4A - Page 146

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...
INPUT
DISPLAY.type Data
DISPLAY
-ty~e
uata
lias
the
sallIe
for
III
as
ual<i
eulel
eu
flOlll
lite
keyboard.
The
computer
knows
the length
of
each
data
item in a
DISPLAY-type
record
by
the
comma
separators
placed
between
items,
Each
item in a
DISPLAY-type
record
is
checked
to
ensure
that
numeric
values
are
placed
in
numeric
variables
as
shown
on
the
right in
record
1.
If
the
data-type
doesn't
match
the
variable-type. as
in
Record
2
on
the rig-ht
UG
is not a
numeric
value),
an
INPUT
ERROR
will
occur
and
the
pro~ram
will
terminate.
INTERNAL-type Data
INTERNAL-type
data
has
the following form:
Examples:
:>NEW
>100
OPEN
1113:"CS1",SEQUENTIA
L,DI5~LAy,INPUT,fIXED
64
>110
INPUT
#13:A,B,STATE$,D$,
X,Y
--INPUT
RECORD
1=22,97.6,
TEXAS,"AUTO LICENSE
",
22000,-.07
--INPUT
RECORD
2=JG,22,TeXAG,
PROPERTY
TAX,42,15
Numeric
items'
designates
length
of
item
(always
8)
value of item
Siring
items:
CIIII---'-----'-I-----"-~
ITIIJ
yLI
----------r---------'
designates
length
of
item
value
of
item
The
computer
knows
the
length
of
each
INTERN
AL-type item
by
interpreting
the
one'position
length
indicator
at
the
beginning
of
each item.
Limited
validation
of
INTERN
AL-type
data-items
is
performed.
All
numeric
items
must
be
9 positions
long
(8 digits
plus
one
position
which
specifies
the
length)
and
must
be
valid
representations
of
floating-point
numbers.
Otherwise.
an
INPUT
ERROR
will
occur.
and
the
program
will
terminate.
For
FIXED-length
INTERN
AL
records.
reading
beyond
the
actual
data
recorded
in
each
record
will
cause
padding
characters
(binary
zeros) to be
read.
If
vou
attempt
to
assign
these
characters
to a
numeric
variable,
an
INPUT
ERROR
occurs.
If
strings
are
being
read. a null
string
is
assigned
to the
string
variable,
11-126
User's Reference Guide

Other manuals for Texas Instruments TI-99/4A

Related product manuals