Getting Input From The User And Displaying Output - Texas Instruments TI-89 Manual Book

Ti ti-89: user guide
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Getting Input from the User and Displaying Output

...
I/O Toolbar Menu
Input Commands
Tip: String input cannot be
used in a calculation. To
convert a string to a numeric
expression, use the expr
command.
Although values can be built into a program (or stored to
variables in advance), a program can prompt the user to enter
information while the program is running. Likewise, a program
can display information such as the result of a calculation.
To enter most of the commonly
used input/output commands, use
the Program Editor's ...
menu.
To see a submenu that lists
additional commands, select
.
1:Dialog
Command
Description
Returns the key code of the next key pressed. See
getKey
Appendix B for a listing of key codes.
Prompts the user to enter an expression. The
Input
expression is treated according to how it is entered.
For example:
¦
A numeric expression is treated as an
expression.
¦
An expression enclosed in "quotes" is treated as
a string.
Input
user update the variables
polar mode) by positioning the graph cursor.
InputStr
Prompts the user to enter an expression. The
expression is always treated as a string; the user
does not need to enclose the expression in "quotes".
Displays a pop-up menu box and lets the user select
PopUp
an item.
Prompts the user to enter a series of expressions. As
Prompt
with
Input
how it is entered.
Displays a dialog box that prompts the user to enter
Request
an expression.
expression as a string.
I/O
toolbar
can also display the Graph screen and let the
xc
, each expression is treated according to
always treats the entered
Request
Chapter 17: Programming
and
(
and
in
yc
rc
qc
301

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents