Chapter 20: A to Z Function and Instruction Reference
307
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 307 of 118
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 307 of 118
InpSt
‡ program editor
I/O menu
InpSt
promptString
,
variable
Pauses a program, displays
promptString
, and waits for
the user to enter a response. The response is stored to
variable
always as a string. When entering the response,
the user should not enter quotation marks.
To prompt for a number or expression instead of a
string, use
Input
.
InpSt
variable
Displays
?
as the prompt.
Program segment:
©
:InpSt "Enter your name:",STR
©
Input
‡ program editor
I/O menu
Input
promptString
,
variable
Pauses a program, displays
promptString
, and waits for
the user to enter a response. The response is stored to
variable
in the form in which the user enters it.
•
A number or expression is stored as a number or
expression.
•
A list, vector, or matrix is stored as a list, vector, or
matrix.
•
An entry enclosed in " marks is stored as a string.
Program segment:
©
:Input "Enter test score:",SCR
©
Input
variable
Displays
?
as the prompt.