Recent changes Random page
GAMING
Technology
 
Gaming
Entertainment
Science Fiction
Biggest wikis
Hobbies
Music
See more...

Store

From TI-BASIC Wiki - The free TI-BASIC encyclopedia

Jump to: navigation, search

[edit] Function

:value→variable

Will store all data on the left side of the arrow into the variable on the right side of the arrow. The function will fail if the wrong data is being placed into the wrong variable (attempting to place a list in Str1 for example)

[edit] Location

  • STO

[edit] Example

:ClrHome
:5→Y
:Input "NUMBER:",X
:X+Y→Z
:Disp Z

This program will first store 5 in the variable Y. Then it will ask the user for a number and place it in X. It will then add the variables X and Y and store the result in a new variable Z. It will display Z.

Rate this article:
Share this article: