ABCDEFGHIJKLMNOPQRSTUV
1
Texas InstrumentsCasioKeystrokesArgumentsExamplesExplanation
2
OutputLocateSHIFT VARS F6 F4 F1X,Y,"Text
3
TextTextY,X,"Text
4
ForForSHIFT VARS F1 F6 F1For 1->I To 10 Step 2
5
2nd arg. of FORToSHIFT VARS F1 F6 F2
6
Step arg. of FORStepSHIFT VARS F1 F6 F3
7
EndNextSHIFT VARS F1 F6 F4End a FOR statement
8
EndIfEndSHIFT VARS F1 F4End an IF Statement
9
EndWhileEndSHIFT VARS F1 F6 F6 F2End a WHILE Statement
10
IfIfSHIFT VARS F1 F1If ConditionIf B>10
11
ThenThenSHIFT VARS F1 F2If Condition:Then:Stuff:IfEndWhenever possible, use the => operator. You have to have a Then with each If, which clutters code
12
ElseElseSHIFT VARS F1 F3If Condition:Then:"True":Else:"False"
13
WhileWhileSHIFT VARS F1 F6 F6 F1A=2
14
Disp VariableRight triangleSHIFT VARS F5Variable<triangle>
15
Disp String"String"ALPHA EXP"String" <newline>
16
randIntRanInt#(OPTN F6 F3 F4 F2RanInt#(1,21)
17
Prompt Variable?SHIFT VARS F5?->Variable
18
If Condition :Stuff=>SHIFT VARS F3 F3K=28=>Y>1=>Y-1->YIf K=28 and Y>1, Y-1->Y
19
ReturnReturnSHIFT VARS F2 F2Return
20
: (Colon): (Colon)SHIFT VARS F6 F5A+2->A:A <triangle>Allows you to put multiple pieces of code on one line
21
N/A~ (Tilda)F6 DOWN RIGHT*61->A~ZStores 1 to variables A through Z
22
AnsAnsSHIFT (-)Getkey:(Ans=38)+(Ans=27)+(Ans=28)+(Ans=37)+(Ans=36)=>Ans->KIf Left, Right, Up, Down, or Exit are pressed, store the keyvalue in K
23
GetkeyGetkeySHIFT VARS F6 F4 F2GetkeyReturns the current keypress, non-blocking
24
{ } (Curly brackets){ } (Curly brackets)SHIFT x (multiply){1,2,3,4}->List 1
25
LxxxxList xxxxOPTN F1 F1
26
Lxxxx(index)List xxxx[index]SHIFT +, SHIFT -List xxxx[index]
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100