Calculator User Manual

216
Chapter 16: Programming
16PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 216 of 1616PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 216 of 1616PROG.DOC TI-86, Chap 16, US English Bob Fedorisko Revised: 02/13/01 2:36 PM Printed: 02/13/01 3:04 PM Page 216 of 16
Input
Displays the current graph and lets you use the free-moving cursor
Input
variable
Pauses a program, displays
?
as a prompt, and then stores your
response to
variable
Input
promptString
,variable
Input "string",variable
Pauses a program, displays
promptString
or
string
(up to 21
characters) as a prompt, and then stores your response to
variable
Input "CBLGET",variable
Although using
Get(
is preferred on the TI
-
86, you can use
Input
to
receive
variable
from a CBL 2/CBL, CBR, or TI
-
86 (TI
-
85 compatible)
Prompt variableA
ã
,variableB,variableC,...ä
Displays each
variable
with
?
to prompt you to enter a value for that
variable
Disp
Displays the home screen
Disp valueA,valueB,...
Displays each
value
Disp variableA,variableB,...
Displays the value stored to each
variable
Disp "textA","textB",...
Displays each
text
string on the left side of the current display line
DispG
Displays the current graph
DispT
Displays the current table and temporarily halts the program
ClTbl
Clears the current table if
Indpnt: Ask
is set (Chapter 7)
Get(variable)
Gets data from a CBL 2/CBL, CBR, or another TI
-
86 and stores it to
variable
Send(listName)
Sends the contents of
listName
to a CBL 2/CBL or CBR
getKy
Returns a number corresponding to the last key pressed, according
to the key code diagram (page 217); if no key was pressed, returns
0
ClLCD
Clears the home screen (LCD stands for liquid crystal display)
If you enter an expression for
variable
at an
Input
or
Prompt
prompt, it is
evaluated and stored.
For
Input
and
Prompt
, built-in
variables such as
y1
and
r1
are not valid as
variable
.
To halt the program
temporarily after
Disp
or
DispG
and examine what the
program is displaying, enter
Pause
on the next command
line (page 219).