[WP 43S] new base conversion one-press keys in INTS require ENTER

This area is for discussion about these families of custom high-end Scientific Calculator applications for SwissMicros devices.
Post Reply
cdmackay
Posts: 281
Joined: Fri Oct 05, 2018 8:33 pm
Location: Cambridge, UK
Contact:

[WP 43S] new base conversion one-press keys in INTS require ENTER

Post by cdmackay »

In 0.23.10, I'm greatly enjoying the new 1-keystroke conversions ->BIN, ->OCT, ->DEC, and ->HEX, from INTS (thank you again).

But there's an oddity…

As monadic functions, I should not have to press ENTER before using them, I assumed. But if I try that in short int entry (with current base shortcut), I see something odd: rather than performing the function as I expect, it changes the base of the short int being entered (if it can).

e.g. if I'm entering 15(_#10), — where () denotes the current base shortcut — and press ->HEX, I'd expect to get f#16. But I actually get 15#16.

in order to get f#16, I have to enter 15(_#10) ENTER ->HEX. That works, but then I've had a stack lift that I didn't need.

Now, the above behaviour is of course useful, as an easier way to change base during entry. But the stack lift after having to ENTER is not. So I'm not sure about it.

Was this intended?
Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot
Casio, Rockwell 18R
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by Walter »

Well, maybe not really intended but debatable. ;) If/when we'd remove the arrows then it will make more sense. :geek:

There will be a minor difference to HP-16C, however, since there you can't enter a 9 when OCT is selected while here you can.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
cdmackay
Posts: 281
Joined: Fri Oct 05, 2018 8:33 pm
Location: Cambridge, UK
Contact:

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by cdmackay »

Yes, I can live with it, and it does have its uses. Just seemed a little odd at first glance.

Of course, it's not truly single key press, like the 16C, since we don't have A–F keys, but there's no fixing that :)

I did wonder about disabling stack lift for ENTER on short int numeric entry; but no doubt that's an entirely different can of worms?

===

Or I can just use the above; e.g. press ->DEC to confirm entry in the current base, then ->HEX to convert.

e.g: 15(_#10) ->DEC ->HEX

that's the same number of keystrokes as ENTER, but without the annoying stack lift.


[Note: I can remember that 0t15 is 0xf; it's just an example :)]
Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot
Casio, Rockwell 18R
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by Walter »

As mentioned, I can either remove the arrows here, so your example will become 15(_#10) DEC HEX.

Or you learn using EXIT. Then it will look like 15(_#10) EXIT ->HEX.

Just you try.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
cdmackay
Posts: 281
Joined: Fri Oct 05, 2018 8:33 pm
Location: Cambridge, UK
Contact:

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by cdmackay »

oh! didn't think of EXIT, thanks Walter. That makes more sense.

I don't mind either way with the arrows, thanks.
Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot
Casio, Rockwell 18R
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by Walter »

cdmackay wrote:
Thu Mar 30, 2023 4:23 pm
oh! didn't think of EXIT, thanks Walter. That makes more sense.

I don't mind either way with the arrows, thanks.
I count your vote for option 2 - less work for us, we leave it as is until someone objects. 8-)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by toml_12953 »

Walter wrote:
Thu Mar 30, 2023 6:34 pm
cdmackay wrote:
Thu Mar 30, 2023 4:23 pm
oh! didn't think of EXIT, thanks Walter. That makes more sense.

I don't mind either way with the arrows, thanks.
I count your vote for option 2 - less work for us, we leave it as is until someone objects. 8-)
I objected already and you said it would be fixed in the next release. I'd like it to work like EXP and TRI which don't require Enter.
viewtopic.php?f=2&t=1816&start=1990
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by Walter »

toml_12953 wrote:
Thu Mar 30, 2023 9:46 pm
I objected already and you said it would be fixed in the next release. I'd like it to work like EXP and TRI which don't require Enter.
viewtopic.php?f=2&t=1816&start=1990
The bug you found is fixed already. Please see viewtopic.php?p=26286#p26286
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
cdmackay
Posts: 281
Joined: Fri Oct 05, 2018 8:33 pm
Location: Cambridge, UK
Contact:

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by cdmackay »

yup, initially I wondered if there was some connection between the issues, but then decided it was just a coincidence.
Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot
Casio, Rockwell 18R
cdmackay
Posts: 281
Joined: Fri Oct 05, 2018 8:33 pm
Location: Cambridge, UK
Contact:

Re: [WP 43S] new base conversion one-press keys in INTS require ENTER

Post by cdmackay »

thanks again, Walter et al, and Tom.
Cambridge, UK
41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot
Casio, Rockwell 18R
Post Reply