Post Reply 
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. Big Grin

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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Free42 NSTK ENTER behavior - fqz - 02-28-2021, 03:15 AM
RE: Free42 NSTK ENTER behavior - fqz - 02-28-2021, 03:05 PM
RE: Free42 NSTK ENTER behavior - DM48 - 03-07-2021, 01:28 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-07-2021, 01:46 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-07-2021, 04:13 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-07-2021, 05:38 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-08-2021 12:39 AM
RE: Free42 NSTK ENTER behavior - Werner - 03-08-2021, 06:23 AM
RE: Free42 NSTK ENTER behavior - rprosperi - 03-08-2021, 01:33 PM
RE: Free42 NSTK ENTER behavior - rprosperi - 03-09-2021, 12:56 AM
RE: Free42 NSTK ENTER behavior - fqz - 03-19-2021, 01:40 PM
RE: Free42 NSTK ENTER behavior - Werner - 03-09-2021, 07:53 AM
RE: Free42 NSTK ENTER behavior - squid2 - 10-15-2021, 06:01 PM
RE: Free42 NSTK ENTER behavior - squid2 - 10-16-2021, 12:29 PM
RE: Free42 NSTK ENTER behavior - Peet - 10-16-2021, 08:32 AM
RE: Free42 NSTK ENTER behavior - squid2 - 10-16-2021, 01:07 PM
RE: Free42 NSTK ENTER behavior - Peet - 10-16-2021, 03:32 PM
RE: Free42 NSTK ENTER behavior - squid2 - 10-16-2021, 04:03 PM
RE: Free42 NSTK ENTER behavior - Peet - 10-16-2021, 10:12 PM
RE: Free42 NSTK ENTER behavior - ijabbott - 10-17-2021, 09:11 AM
RE: Free42 NSTK ENTER behavior - BruceH - 10-17-2021, 03:25 PM



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