From Learn @ Cemetech
Revision as of 14:07, 24 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Command Summary

Stores a value to a variable.

Command Syntax


Menu Location

Press [STO►]

Calculator Compatibility


Token Size

1 byte

The → (store) command will store a number, variable, or expression to a variable, using the respective value(s) of the variable(s) at the time. When storing a value in a variable, you have the value on the left side of → and the variable that it will be stored to on the right side.


           {1.3 5.7 9.11}

           "HELLO WORLD"


It's not easy to put a → symbol into a string, since "→→Str1 would produce a syntax error (and in general, when the calculator 'sees' a → symbol, it assumes that the string is over, and interprets the symbol literally).

However, you can use Equ►String( (outside a program) to get the → or " symbols in a string:

  1. Type them on the home screen and press [ENTER]
  2. Select 1:Quit when the ERR:SYNTAX comes up.
  3. Press [Y=] to go to the equation editor.
  4. Press [2nd] [ENTRY] to recall the symbols to Y,,1,,
  5. Now, use Equ►String(Y,,1,,,Str1) to store the symbols to a string.


You can remove closing parentheses, braces, brackets, and quotes that are before a → command.

can be

Related Commands