Key Code To Letter

samplescreenshot.gif

Routine Summary

A short description of what the routine does.

Inputs

{$input}

Outputs

The variable(s) that the routine stores to at the end.
Ans - the letter in a string
TI-83/84/+/SE

Variables Used

{$variable}

Calculator Compatibility

{$compatibility}

Author

Weregoose

Authors

{$authors}

URL: Weregoosepage

Download

routine.zip

: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]]

.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License