1,333 questions

814 answers

6,242 users

Welcome to ti 84 plus Questions and Answer. Feel free to ask any question related to ti 84 plus (or others texas instrument calculators or even HP or Casio calculators). You could also ask for help if you have sciences questions (math, physics ...) We provide help for ti-84-plus usage, programming, hardware, math...

Is there a way to store a list when programming a TI-83+?

0 votes
Out of curiosity, I'm beginning to learn how to program my TI-83+ calculator. Part of my latest program involves storing numbers in a list. How can I add items to a list on a TI-83+ and how can I loop over them/access them?
asked May 16, 2013 by anonymous

1 Answer

0 votes
 
Best answer

 

You need first to define the size of a list like this :
 
3->dim(L1 
(if you forget, you will have an ERR:Invalid Dim)
 
Press enter and you get a "10" as answer (don't worry it's normal).
 
You can find dim( in the [Catalog] and -> is "[STO->].
 
Then you could fill the list with some data like this :
 
2->L1(1)
3->L1(3)
Now When you print L1 you get :
 
{2 0 3 0}
First index is L1(1) not 0 (as usual).
 
You can delete the list by using DelVar :
 
DelVar L1
You can fill it with Fill, sort it, convert to matrix .... Simply go to the List menu (2nd + Stat).
 
You can iterate on the list using a for loop (no foreach, use dim(L1) for the upper bound).
 
More informations in the guidebook or you could also ask your questions on this calculator questions stack
 
Hope this help =)
answered May 16, 2013 by anonymous
selected May 16, 2013 by webmaster

Related questions

0 votes
0 answers 73 views
0 votes
0 answers 271 views
0 votes
0 answers 92 views
asked Jun 19, 2014 by anonymous
0 votes
1 answer 105 views
asked Apr 5, 2013 by anonymous
0 votes
1 answer 657 views
...