TI-BASIC Wiki
Advertisement

Keystroke values are the values returned by the GetKey command to indicate which button was pressed.

TI-84[]

Getkey

The TI-84 getKey function uses a map exactly like this to detect which button was pressed. It is much like a graph, starting with (1,1) and ending with (10,5)

The value ends up to be a 2 or 3 digit number with the row number (starting from the top) being the 1st (or 2nd, in the case of row 10) number and the column number being the 2nd number.

Ex:
Y= is 11
Enter is 105
2nd is 21, etc.

TI-89[]

Keystroke values are more complex in TI-89 since TI-89-BASIC gives support to 2ND, 3RD, Alpha and ↑ keystrokes.

Keystroke Value Keystroke Value Keystroke Value Keystroke Value
ENTER 13 A 65 a 97 α (Greek+Alpha+a) 128
18 B 66 b 98 β (Greek+Alpha+b) 129
[Space] 32 C 67 c 99 Γ (Greek+Alpha+G) 130
! (◇÷) 33 D 68 d 100 γ (Greek+Alpha+g) 131
" 34 E 69 e 101 Δ (Greek+Alpha+D) 132
& (◇×) 38 F 70 f 102 δ (Greek+Alpha+d) 133
' 39 G 71 g 103 ε (Greek+Alpha+e) 134
( 40 H 72 h 104 ζ (Greek+Alpha+z) 135
) 41 I 73 i 105 θ 136
× 42 J 74 j 106 λ (Greek+Alpha+l) 137
+ 43 K 75 k 107 ξ (Greek+Alpha+x) 138
, 44 L 76 l 108 Π (Greek+Alpha+P) 139
- (minus) 45 M 77 m 109 π (Greek+Alpha+p)* 140
. 46 N 78 n 110 ρ (Greek+Alpha+r) 141
÷ 47 O 79 o 111 Σ (Greek+Alpha+S) 142
0 48 P 80 p 112 σ (Greek+Alpha+s) 143
1 49 Q 81 q 113 τ (Greek+Alpha+t) 144
2 50 R 82 r 114 φ (Greek+Alpha+f) 145
3 51 S 83 s 115 ψ (Greek+Alpha+y) 146
4 52 T 84 t 116 Ω (Greek+Alpha+W) 147
5 53 U 85 u 117 ω (Greek+Alpha+w) 148
6 54 V 86 v 118
7 55 W 87 w 119
8 56 X 88 x 120
9 57 Y 89 y 121
: 58 Z 90 z 122
; 59 [ 91 { 123
< 60 \ 92 | 124
= 61 ] 93

! This article is a stub. Please help the TI-BASIC Wiki by expanding it

Advertisement