Post Reply 
Free42 with big stack, test version
02-03-2021, 11:21 PM
Post: #26
RE: Free42 with big stack, test version
(02-03-2021 10:25 PM)Peet Wrote:  I think with RPL, a large stack is absolutely necessary, but with RPN you only lose the advantage of the good overview without real gaining another.

After this thread (https://www.hpmuseum.org/forum/thread-16086.html) had an open ending and the need (not even an advantage) for a larger RPN stack was never really clarified I am alike curious and interested - is there a reason/usage for a larger stack or is it more a proof of concept?

It's not merely a larger stack, it's a dynamic stack, i.e. it grows as large as it needs to be, nothing is ever lost from the top. For manual calculations this may not be a very big deal, but for programming it can be, it makes parameter passing and recursive functions easier. It's not strictly necessary in Free42 because it already had local variables with LSTO and support for cleaner functions with FUNC, but the big stack offers an alternative for people who prefer that kind of coding style.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Free42 with big stack, test version - Thomas Okken - 02-03-2021 11:21 PM



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