Revision b8ef8296-cc49-42c9-a356-abda93a5ca88 - Code Golf Stack Exchange
# TI-BASIC
*[The language varies based on which calculator it is used on, but these will use the TI-84 unless otherwise noted.]*
### Length 4 snippet
8°5′
This is 8 degrees, 5 arcminutes, which is converted to degrees as `8.0333`...
### Length 3 snippet
8→T
This shows how numbers can be stored as variables, which is somewhat unusual because the number goes first, followed by the store arrow, then the variable name. As mentioned in the factoid, `θ` (theta) can also be used as a variable, and variables can only be one uppercase letter.
### Length 2 snippet
4M
Similarly to Mathematica, you can multiply with juxtaposition, no `*` necessary. All variables are initialized to 0 by default, so this will output 0 unless you have stored something else to that variable (see snippet 3).
### Length 1 snippet
e
This is Euler's number, which displays as `2.718281828`. TI-BASIC also has the constant `π`, but that was used above.
### Factoid
Variables can only store certain datatypes. For example, `A` – `Z` (and <code>θ</code>) store numerical values, `str0` – `str9` store strings, and `[A]` – `[J]` store matrices (2×2 arrays).