title: Printing out a set of lists in the ti-84 ti-basic
body: <p>I want to be able to print out L1 up to Lk (lists in the ti-84) for some arbitrary number k. </p>
  
  <p>Lists in ti-basic  are essentially one-dimensional arrays used to store a real or complex number into each of their elements. </p>
  
  <p>Below I made my own lists named L1, ... L3 (not built in, in reality can be accessed and printed by typing LL1, ... LL3)</p>
  
  <p>I will show you some of what I tried, etc.</p>
  
  <p>let L5 = {5,5,5}</p>
  
  <p>If I try the following code snippet:</p>
  
  <pre><code>PROGRAM: ITRTLST
  :ClrHome
  :Disp LL1
  :For(J,1,3
  :Disp J
  :Disp LL5
  :End
  </code></pre>
  
  <p>This code outputs: </p>
  
  <p>1</p>
  
  <p>{5,5,5}</p>
  
  <p>2</p>
  
  <p>{5,5,5}</p>
  
  <p>3</p>
  
  <p>{5,5,5}</p>
  
  <p>Note the first 'L' in LL5 is a token (accessible by pressing [2nd]+[LIST(STAT)] OPS B:)</p>
  
  <p>However if I try the following code snippet:</p>
  
  <pre><code>PROGRAM: ITRTLST
  :ClrHome
  :Disp LL1
  :For(k,1,3
  :Disp J
  :Disp LLk
  :End
  </code></pre>
  
  <p>I get ERR:UNDEFINED</p>
  
  <p>This is because it thinks of 'LLK' as a list name rather than LL1, LL2, LL3</p>
  
  <p>We can see this if I let LLK = {1,2,3} then the above code outputs </p>
  
  <p>1</p>
  
  <p>{1,2,3}</p>
  
  <p>2</p>
  
  <p>{1,2,3}</p>
  
  <p>3</p>
  
  <p>{1,2,3}</p>