title: TI Nspire: Return a list in a function
body: <p>I have a function that acts upon the pixeldata of an image for the sake of simplicity, th eimage has only one row which means that I can use lists to hold the data.</p>
  
  <p>So said function needs to return this list but just doing </p>
  
  <pre><code>...
  Return (SomeFormulaThatResultsInAList)
  ...
  </code></pre>
  
  <p>results in a "Incorrect type"-error.</p>
  
  <p>My assumption is that <code>Return</code>can only return numbers, not lists, am I right? If so, how can I return a list?</p>
  
  <p>Btw, I am using a TI-Nspire CX CAS</p>