EasyManuals Logo

Radio Shack Telephone Interface II Manual

Radio Shack Telephone Interface II
126 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
Page #55 background imageLoading...
Page #55 background image
2. INPUT
statement
This
is an
instruction
which requests manual
input
data
during program
execution.
General
form
(1)
INPUT
[Variable],
[Variable],
Example:
INPUT
A,
B,
C,
The
instruction
causes
the Computer
to stop program
execution
and
display
a
question
mark
"?".
When
you
respond
by inputting
data to
the
Computer
and
pressing
(era]
key,
the
Computer
stores data in
a
specified
variable.
The
Computer
carries out this
process
the
number
of times
that
corresponds
to the
number
of
variables
specified
after
an
INPUT
statement.
General
form
(2)
INPUT
"Character",
[Variable],
"Character",
[Variable],--
Example:
INPUT "A
=",
A,
"B
=",
B,
This
form
of
instruction
causes the
Computer
to stop program
execution
and
display
a
message
instead
of
"?."
Example
<
Programming
Note
1
:
I
NPUT A '
B
20:
INPUT *C=
#
»C» *DATA D=*
>D
Genera!
form
(1)
General form
(2)
Execution
Operation
Display
Note
Set
to
the
RUN
mode
CE(3JCnDS
?
Display
in
general
form
(1)
3
3_
Inputting
data
[enter]
?
3
is
placed
in
A,
Display
in
general
form
(1)
4
4_
Inputting
data
ewer]
c=
4 is
placed
in B.
Display
in
general
form
(2)
5
5_
Inputting
data.
[enter]
DATA D=
5
is
placed
in C.
Display
in
general
form
(2)
6
6_
Inputting
data
[enter]
>
6
is placed
in
D.
General form
(3)
Example:
INPUT
"Character";
[Variable],
INPUT "C="; C'"D=";D»
'Character";
[Variable]
In
general
form
(2),
if data
is
input after the display of
a
message,
that message
disappears.
In
general
form
(3),
if
a
semicolon
(
;
)
is entered after "Character",
message
does
not appear
and
data
can
be
displayed
following that
"character."
52

Other manuals for Radio Shack Telephone Interface II

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack Telephone Interface II and is the answer not in the manual?

Radio Shack Telephone Interface II Specifications

General IconGeneral
BrandRadio Shack
ModelTelephone Interface II
CategoryDesktop
LanguageEnglish

Related product manuals