WP43 News

This area is for discussion about these families of custom high-end Scientific Calculator applications for SwissMicros devices.
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: 43S News

Post by Walter »

dlachieze wrote:
Fri Nov 26, 2021 4:39 pm
in the mathematics I was taught also long ago, "PI÷4" in an equation has only one interpretation: PI divided by 4.
No doubt. But that mathematics also didn't allow a variable name "PI÷4", I bet.

In the case we're talking about, a user-created (variable) name may contain any characters except (, ), +, -, ×, :, ^, =, ;, |, comma, and space. Once created, it may be used system-wide in programs and equations.

Editing equations, spaces are most times inserted automatically. Just terminating a name and wanting to continue with the division operator / requires inserting a space manually since / is the only operator symbol allowed to appear in a name.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

Walter wrote:
Fri Nov 26, 2021 10:51 pm
Just terminating a name and wanting to continue with the division operator / requires inserting a space manually since / is the only operator symbol allowed to appear in a name.
So U=R*I would be interpreted as U equals R times I
But R=U/I would be interpreted as R equals the variable ‘U/I’ and not R equals U divided by I

For coherence and consistency as well as for a better user experience, either slash should not be allowed in variable names, or all operator symbols should be allowed in variable names and separated by a space when used as operators.
Last edited by dlachieze on Fri Nov 26, 2021 11:17 pm, edited 1 time in total.
DM42: 00425 - DM41X: β00066 - WP43: 00042
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: 43S News

Post by rprosperi »

dlachieze wrote:
Fri Nov 26, 2021 11:10 pm
For coherence and consistency as well as for a better user experience, either slash should not be allowed in variable names, or all operator symbols should be allowed in variable names and separated by a space when used as operators.
1 +

Consistency and intuitive behavior are important. No doubt "/" is currently allowed having never thought of these issues, and I can agree they are not the 1st (or 2nd or 3rd) thing to come to mind, but it makes more sense to simply remove it from allowed variable name characters, than to require users to deal with the confusion and problems that will result (eventually) if allowed to stat as-is.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

Another way to solve this issue while keeping the slash allowed in variable names would be to use the obelus symbol "÷" for the division operator as used on many calculators. This way, no more confusion between slash and division.
DM42: 00425 - DM41X: β00066 - WP43: 00042
User avatar
akaTB
Posts: 794
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: 43S News

Post by akaTB »

dlachieze wrote:
Fri Nov 26, 2021 11:33 pm
Another way to solve this issue while keeping the slash allowed in variable names would be to use the obelus symbol "÷" for the division operator as used on many calculators. This way, no more confusion between slash and division.
Don't tell Walter about the obelus. ;)
Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: 43S News

Post by rprosperi »

akaTB wrote:
Fri Nov 26, 2021 11:55 pm
dlachieze wrote:
Fri Nov 26, 2021 11:33 pm
Another way to solve this issue while keeping the slash allowed in variable names would be to use the obelus symbol "÷" for the division operator as used on many calculators. This way, no more confusion between slash and division.
Don't tell Walter about the obelus. ;)
LOL... indeed, best to avoid that. You may be accused of being an American, conveniently just living in France... ;)
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: 43S News

Post by Walter »

Regarding slash: we decided to disallow / in user-created names. It's a pity but causing too much trouble.

Regarding that other character that must not be named here, please look up ISO 80000-2:
The symbol ÷ should not be used.
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: 43S News

Post by rprosperi »

Walter wrote:
Sat Nov 27, 2021 6:19 pm
Regarding slash: we decided to disallow / in user-created names. It's a pity but causing too much trouble.

Regarding that other character that must not be named here, please look up ISO 80000-2:
The symbol ÷ should not be used.
Good call on both items! Thanks!
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 43S News

Post by dlachieze »

Walter wrote:
Sat Nov 27, 2021 6:19 pm
Regarding that other character that must not be named here, please look up ISO 80000-2:
The symbol ÷ should not be used.
Sorry, but ISO is asking me to pay CHF 158 to access this document, CHF 158 (~151€ or $171) for 36 pages !!!
No surprise if most calculators still use the obelus…
DM42: 00425 - DM41X: β00066 - WP43: 00042
Panchdara
Posts: 148
Joined: Sat May 15, 2021 9:02 am

Re: 43S News

Post by Panchdara »

dlachieze wrote:
Sun Nov 28, 2021 12:27 am
Walter wrote:
Sat Nov 27, 2021 6:19 pm
Regarding that other character that must not be named here, please look up ISO 80000-2:
The symbol ÷ should not be used.
Sorry, but ISO is asking me to pay CHF 158 to access this document, CHF 158 (~151€ or $171) for 36 pages !!!
No surprise if most calculators still use the obelus…
Try https://people.engr.ncsu.edu/jwilson/fi ... hsigns.pdf it's 2009.
Post Reply