Home Games Stuff


There are three common types of variables you can use on your calculator, numbers, strings, and lists. Later, you will learn about matrices, the mythical fourth type of variable.
Number Variables

Number variables are the 26 letters that are found by hitting [Alpha] and then the key with the letter. If you type in a number or an expression, hit the sto key, type a letter, and hit enter the value of that number or expression will be saved as that letter. Take a look at the example below.


The first line shows the number eight being stored in the variable A then, the second line shows that value being recalled. This value can be recalled at anytime by using it in an expression. The next line is similar except an expression is used to set the value of the variable B. The entire expression will execute before the value is stored so the value of B is set to 622.


The string variables are found by hitting [Vars] then selecting the seventh option. There are 10 string variables labeled Str1 through Str0. Any combination of characters can be saved into strings by surrounding the value of what you want saved in quotation marks. Quotation marks can be typed by hitting [Alpha] then hitting [+].


Here is an example of saving a string to a string variable. You can join two strings by using a + in between them.


Lists are ordered groups of numbers, like a one dimensional array. If you look at your calculator, you will see above numbers 1 through 6 in blue font L1 through L6. These are the six list variables that you can store lists in and can be accessed by pressing [2nd] then the number with the list number above it. The syntax for creating a list is shown in the image below.

Oh nose!

Once you store a list variable, you can access an individual value by first typing the list you wish to access. Then, you type an open paranthesis followed by the number in the list the value is, and then finally a closed parenthesis. Below is an example using the list created above.

There is an image here

Here, we select the second value in the list we created earlier, which is 2.

Creating Programs | Displaying Text