16-20 Programming
8316PROG.DOC TI-83 international English Bob Fedorisko Revised: 02/19/01 1:23 PM Printed: 02/19/01 1:39
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.
getKey
TI-83 Key Code
Diagram
ClrHome,
ClrTable