Texas Instruments TI-80 Calculator User Manual


 
Programming 10-13
DISP
(display,
PRGM I/O
, item 2) with no value displays the
Home screen. To view the Home screen during program
execution, follow the
DISP
instruction with a
PAUSE
.
DISP
(display,
PRGM I/O
, item 2) with one or more values
displays the value of each.
DISP
value
DISP
valueA
,
valueB
...
¦
If
value
is a variable, the current value is displayed.
¦
If
value
is an expression, it is evaluated and then
displayed, according to the current mode settings, on the
right of the following line.
¦
If
value
is text within
"
marks, it displays on the left of the
current display line.
For example,
DISP "ANSWER IS",
2
displays:
If
PAUSE
is encountered after
DISP
, the program halts
temporarily so that you can examine the screen. Press
¸
to resume program execution.
Note: A statement that results in a value will display without
using
DISP
, if it is the last statement (other than
STOP
,
END
,
and
PAUSE
) in the program.
DISPGRAPH
(display graph,
PRGM I/O
, item 3) displays the
current graph. If
PAUSE
is encountered after
DISPGRAPH
,
the program halts temporarily so you can examine the screen.
Press
¸
to resume execution.
CLRHOME
(clear Home screen,
PRGM I/O
, item 4) clears the
Home screen during execution and places the cursor in the
upper left corner; however, program execution does not pause
unless
PAUSE
is encountered.
Displaying the
Home Screen
Displaying
Values and
Messages
DISPGRAPH
CLRHOME