Free42 NSTK ENTER behavior
|
03-08-2021, 12:39 AM
(This post was last modified: 03-08-2021 12:41 AM by fqz.)
Post: #10
|
|||
|
|||
RE: Free42 NSTK ENTER behavior
(03-08-2021 12:03 AM)Thomas Okken Wrote: I think that's a brilliant idea, but yes, I can also see it causing a lot of confusion. I have a feeling it would take me quite some time to get used to it myself. I don't fully understand how the input cursor, stack lift flag, and such really work at a low level, but I think it actually works out pretty elegant: [ENTER] would just execute a function that duplicates and pushes onto the stack, leaving the stack lift flag unchanged from whatever it was. The devil is that no RPN calculator I can think of, hardware nor software, implements such a behavior! It's funny, because the two primary alternatives we've discussed both seem to create redundant situations where a keypress that has no useful application of its own is required at some point. In Classic RPN there's no reason I can think of to execute ENTER only once on a terminated stack (existing result / stack lift enabled) as opposed to DUP. Meanwhile in Entry RPN / buffered input / RPL, there's no reason to terminate a final input with [ENTER] except for comfort unless you're working on a machine that is going to evaluate code in your input or offers some other special functionality I'm not considering. But, I've been shown to overlook things already! Haha |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)