Key Code To Letter
A short description of what the routine does.
{$input}
The variable(s) that the routine stores to at the end.
Ans - the letter in a string
TI-83/84/+/SE
{$variable}
{$compatibility}
Weregoose
{$authors}
URL: Weregoosepage
:Repeat Ans>34 and min(Ansø{44,45,105
:getKey
:End
:sub("ABC**DEFGHIJKLMNOPQRSTUVWXYZÁ'* :?*",Ans-20-5int(.1Ans),1
The Repeat loop makes sure good input is passed.
The last line takes from the string the letter according to the keycode.
This is a nice optimized routine.
Error Conditions
None known.
Related Routines
- [[Key Code Retriever]]
- [[Number pad reader]]
.
