| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Texas Instruments | Casio | Keystrokes | Arguments | Examples | Explanation | ||||||||||||||||
2 | Output | Locate | SHIFT VARS F6 F4 F1 | X,Y,"Text | ||||||||||||||||||
3 | Text | Text | Y,X,"Text | |||||||||||||||||||
4 | For | For | SHIFT VARS F1 F6 F1 | For 1->I To 10 Step 2 | ||||||||||||||||||
5 | 2nd arg. of FOR | To | SHIFT VARS F1 F6 F2 | |||||||||||||||||||
6 | Step arg. of FOR | Step | SHIFT VARS F1 F6 F3 | |||||||||||||||||||
7 | End | Next | SHIFT VARS F1 F6 F4 | End a FOR statement | ||||||||||||||||||
8 | End | IfEnd | SHIFT VARS F1 F4 | End an IF Statement | ||||||||||||||||||
9 | End | WhileEnd | SHIFT VARS F1 F6 F6 F2 | End a WHILE Statement | ||||||||||||||||||
10 | If | If | SHIFT VARS F1 F1 | If Condition | If B>10 | |||||||||||||||||
11 | Then | Then | SHIFT VARS F1 F2 | If Condition:Then:Stuff:IfEnd | Whenever possible, use the => operator. You have to have a Then with each If, which clutters code | |||||||||||||||||
12 | Else | Else | SHIFT VARS F1 F3 | If Condition:Then:"True":Else:"False" | ||||||||||||||||||
13 | While | While | SHIFT VARS F1 F6 F6 F1 | A=2 | ||||||||||||||||||
14 | Disp Variable | Right triangle | SHIFT VARS F5 | Variable<triangle> | ||||||||||||||||||
15 | Disp String | "String" | ALPHA EXP | "String" <newline> | ||||||||||||||||||
16 | randInt | RanInt#( | OPTN F6 F3 F4 F2 | RanInt#(1,21) | ||||||||||||||||||
17 | Prompt Variable | ? | SHIFT VARS F5 | ?->Variable | ||||||||||||||||||
18 | If Condition :Stuff | => | SHIFT VARS F3 F3 | K=28=>Y>1=>Y-1->Y | If K=28 and Y>1, Y-1->Y | |||||||||||||||||
19 | Return | Return | SHIFT VARS F2 F2 | Return | ||||||||||||||||||
20 | : (Colon) | : (Colon) | SHIFT VARS F6 F5 | A+2->A:A <triangle> | Allows you to put multiple pieces of code on one line | |||||||||||||||||
21 | N/A | ~ (Tilda) | F6 DOWN RIGHT*6 | 1->A~Z | Stores 1 to variables A through Z | |||||||||||||||||
22 | Ans | Ans | SHIFT (-) | Getkey:(Ans=38)+(Ans=27)+(Ans=28)+(Ans=37)+(Ans=36)=>Ans->K | If Left, Right, Up, Down, or Exit are pressed, store the keyvalue in K | |||||||||||||||||
23 | Getkey | Getkey | SHIFT VARS F6 F4 F2 | Getkey | Returns the current keypress, non-blocking | |||||||||||||||||
24 | { } (Curly brackets) | { } (Curly brackets) | SHIFT x (multiply) | {1,2,3,4}->List 1 | ||||||||||||||||||
25 | Lxxxx | List xxxx | OPTN 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 |