Chapter 16: Programming
289
Displaying a Graph with Input
Input
without a variable displays the current graph. You can move the free-moving cursor, which
updates X and Y (and R and
q
for
PolarGC
format). The pause indicator is on. Press
Í
to
resume program execution.
Input
Program
Output
Storing a Variable Value with Input
Input
with
variable
displays a
?
(question mark) prompt during execution.
variable
may be a real
number, complex number, list, matrix, string, or Y= function. During program execution, enter a
value, which can be an expression, and then press
Í
. The value is evaluated and stored to
variable
, and the program resumes execution.
Input
[
variable
]
You can display
text
or the contents of
Str
n
(a string variable) of up to 16 characters as a prompt.
During program execution, enter a value after the prompt and then press
Í
. The value is
stored to
variable
, and the program resumes execution.
Input
[
"
text
",
variable
]
Input
[
Str
n
,
variable
]
Program
Output