Best GetKey Codes


Here's the very best way to get a key value, thanks to ?.
73, 82 - 83+SE 85 - 8689 - V200
Repeat Ans
getKey
End
Repeat Ans
getKy
End
0→x
While x=0
getKey( )→x
EndWhile
To get the value, just look at Ans (73-86) or x (89-v200). This is hardly ever over 20 bytes on the TI-73 through TI-86, if the name is short. On the TI-89 through V200 it should never be larger than 45 bytes. I got it down to 19 bytes on my TI-86, 41 bytes on my TI-92+, 13 bytes on my TI-83, and 16 bytes on my TI-83+.