Post Reply 
RPN save stack to list
11-06-2015, 04:33 PM
Post: #2
RE: RPN save stack to list
(11-06-2015 09:48 AM)retoa Wrote:  How do you address a list element in RPN? in textbook I do LO(2) and I get the second element of the list L0, if I try the same in RPN I get an error.

In RPN, you put the arguments on the stack then call the function (or reference the list element) with the number of arguments in the parentheses. In your example there's only one argument so 2 goes on the stack and the 1 goes in the parentheses:

2
press Enter
L0(1)
press Enter

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RPN save stack to list - retoa - 11-06-2015, 09:48 AM
RE: RPN save stack to list - toml_12953 - 11-06-2015 04:33 PM
RE: RPN save stack to list - retoa - 11-06-2015, 09:55 PM



User(s) browsing this thread: 1 Guest(s)