16–20 Programming
82E978~1.DOC TI-83 international English Bob Fedorisko Revised: 10/26/05 1:47 PM Printed: 10/27/05 3:02
PM Page 20 of 22
getKey returns a number corresponding to the last key pressed,
according to the key code diagram below. If no key has been
pressed,
getKey returns 0. Use getKey inside loops to transfer
control, for example, when creating video games.
Program Output
Note: , , , and
Í were pressed during
program execution.
Note: You can press É at any time during execution to break the
program (page 16.5).
ClrHome (clear home screen) clears the home screen during
program execution.
ClrTable (clear table) clears the values in the table during
program execution.
PRGM I/O (Input/Output) Instructions (continued)
getKey
TI-82 STATS Key
Code Diagram
ClrHome,
ClrTable