![]() |
HP-Prime : Extracting elements from a list in RPN - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: HP-Prime : Extracting elements from a list in RPN (/thread-255862.html) |
HP-Prime : Extracting elements from a list in RPN - Miguel Toro - 11-15-2013 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
|