Input - Sharp CE-158 Instruction Manual

Interface for pc-1500
Hide thumbs Also See for CE-158:
Table of Contents

Advertisement

All
and
more
about Sharp
PC-1500
at
http://www.PC-1500.info
8. INPUT$
Almost
similar to
the INPUT
statement described
in the preceding page.
What
differs
is
that
the input data
through the
RS·232C port
is
not
translated
into the
in ter·
mediate computer
language.
Therefore. inclusion of
"SIN
30"
in
the data before the CR
code
ap
pears wi
ll no
t
be
considered
to
be
SIN
of
the
trigonometric
function.
and
that
it does
not
contain
in
the
input
data
the
function
that involves arithmetical expression.
9.
INPUT%
T'his command
is
also effective
only
when Kl has b<:en
declared by the
SETD
EV
statement.
Data
received
through the
RS·232C
port are substituted with
specified character
array. of
which the
contents are
cleared upon
execution of this
command.
Command execution terminates when the CR code
is
receiv·ed
or when data are received
to the
lull
capacity of
character array.
[General format)
INPUT% character
array
name
$ ( *
J
(EX)
10
SETDEV Kl
20
SETCOM 1200,7,E,
1
30
OUTSTAT0
40
CLEAR:
DIM
AS
(
2,
3)*
1
50
INPUT% A$
(
*)
60
END
lnP<Jt data
to
the
RS·232C
port=
RS·232C CR
Con
tents
of
character
array
AS
(l ,J)
G
1
2
0
R
s
-
1
3
2
c
2
NU
L
NUL
NUL
22
Do not
sell
this
PDF !!!
3
2
NUL
NUL

Advertisement

Table of Contents
loading

Table of Contents