Operation Manual

Programming 13-13
8213PROG.DOC TI-82, Chapter 13, English Bob Fedorisko Revised: 02/09/01 9:25 AM Printed:
02/09/01 12:42 PM Page 13 of 18
PRGM I/O (Input/Output) Instructions
The PRGM I/O (program input/output) instructions can be accessed only from
within the program editor (press
~
). They control input to and output from
a program during execution. They allow you to enter values and display answers
during program execution.
PRGM I/O Menu
CTL I/O EXEC
1: Input
Enter value or use free-moving cursor.
2: Prompt
Prompt for entry of variable values.
3: Disp
Display text, value, or Home screen.
4: DispGraph
Display the current graph.
5: DispTable
Display table.
6: Output(
Display text at a specified position.
7: getKey
Check the keyboard for a keystroke.
8: ClrHome
Clear the display.
9: ClrTable
Clear the current table.
0: PrintScreen
Print the current screen.
A: Get(
Gets variable from another device.
B: Send(
Sends variable to another device.
Input
¦
Input
without
variable
is used to display a graph on which you can use
the free-moving cursor.
¦
Input
with
variable
or
"
string
"
and
variable
is used to store a value to a
variable.
Displaying a Graph with Input
Input
without
variable
displays the current graph. You can move the free-
moving cursor, which updates
X
and
Y
(and
R
and
q
in
PolarGC FORMAT
).
The dotted-bar pause indicator is displayed. Press
Í
to resume
execution.
Storing a Variable Value with Input
Input
with
variable
prompts
?
during execution.
variable
may be a real
number, list, matrix or
Y=
function. Enter a value (which can be an
expression) and press
Í
. The value is evaluated and stored to
variable
,
and the program resumes execution. If
variable
is
Y
n
or other
Y=
functions,
enter
"
and then the expression, which will be stored to the
Y=
function as
entered.
Input
variable
You can display a
string
of up to 16 characters as a prompt. Enter a value
and press
Í
. The value is stored to
variable
, and the program resumes
execution.
Input "
string
",
variable