HP-Prime : Extracting elements from a list in RPN
#1

Sorry to also post about this subject, but I would like to know how to extract an element from a list. Based on the example on page 456 of the English manual (L6 being {3,4,5,6}), when in Home and assuming algebraic or textbook entry, the simple steps are:

L6(2) [ENTER] ==> 4

So far, so good. In RPN entry mode, I tried the same steps to no avail, evidently :-)

L6(2) [ENTER] ==> "ERROR MESSAGE BOX: L6({3,4,5,6},{3,4,5,6})"

Then, after some trial and error, in RPN, the only way I found to extract the element was :

[SHIFT]['']L6(2)[ENTER][SHIFT][EVAL] ==> 4

... A lot longer than with Algebraic/Textbook entries and, I might be wrong, but I think it is not documented anywhere in the manual.

So, my question is: is this the right way to do it in RPN or there is a faster, with less steps way to do it?

Thanks and regards,

Miguel



Possibly Related Threads…
Thread Author Replies Views Last Post
  Milestones:List of IEEE Milestones -> HP-35 AlbertTocarLoseggs 4 2,063 11-27-2013, 08:52 AM
Last Post: Massimo Gnerucci (Italy)
  Prime: Placing more than 1 item on the RPN stack in a single program? John Colvin 4 2,205 11-19-2013, 08:59 AM
Last Post: Miguel Toro
  [HP-Prime] Picking elements from a List in a program Jean-Michel 3 1,936 11-15-2013, 04:16 AM
Last Post: dg1969
  HP Prime: Recommendation for future RPN Program Mode BruceTTT 3 2,103 11-13-2013, 10:03 PM
Last Post: BruceTTT
  Hp PRIME - how to send a list to the connectivity Kit giancarlo 1 1,285 11-10-2013, 11:50 AM
Last Post: Tim Wessman
  How do I decompose a list with the HP Prime. Hal Bitton in Boise 4 1,979 11-08-2013, 02:07 PM
Last Post: Patrice
  [PRIME] RPN: another attempt at returning more than one value to the RPN stack Marcus von Cube, Germany 5 2,382 11-05-2013, 02:44 AM
Last Post: Marcus von Cube, Germany
  HP-Prime/Xcas: vector/list indexing fhub 6 2,774 10-27-2013, 04:52 PM
Last Post: fhub
  PRIME Spreadsheet RPN Problem Dougggg 5 2,437 10-24-2013, 11:46 PM
Last Post: Han
  Does RPN entry mode cause the Prime keyboard to lock up ? Michael de Estrada 14 4,620 10-22-2013, 06:27 PM
Last Post: John Colvin

Forum Jump: