HP Forums
CAS commands in HOME view - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: CAS commands in HOME view (/thread-8197.html)



CAS commands in HOME view - tdh79 - 04-18-2017 05:00 PM

Every time I select a CAS command in HOME view I get "Error: Syntax Error" and i have to remove "CAS." from the command i select, is this a common problem or do I have the wrong firmware or something?


RE: CAS cnds in HOME view - toml_12953 - 04-19-2017 01:44 AM

(04-18-2017 05:00 PM)tdh79 Wrote:  Every time I select a CAS command in HOME view I get "Error: Syntax Error" and i have to remove "CAS." from the command i select, is this a common problem or do I have the wrong firmware or something?

Have you tried CAS(yourcommand) rather than CAS.yourcommand?

Don't ask me why. The interface between CAS and Home is inconsistent.

Tom L


RE: CAS cnds in HOME view - tdh79 - 04-19-2017 10:01 AM

(04-19-2017 01:44 AM)toml_12953 Wrote:  
(04-18-2017 05:00 PM)tdh79 Wrote:  Every time I select a CAS command in HOME view I get "Error: Syntax Error" and i have to remove "CAS." from the command i select, is this a common problem or do I have the wrong firmware or something?

Have you tried CAS(yourcommand) rather than CAS.yourcommand?

Don't ask me why. The interface between CAS and Home is inconsistent.

Tom L

I can use the function, I just have to remove the "CAS." Ex: When i choose CAS.simplify() i have to remove CAS. so it says simplify() instead. Of course I can just type "simplify" but when i don't know the command i have to locate it in the list and then remove the "CAS." part..


RE: CAS commands in HOME view - Tim Wessman - 04-19-2017 03:04 PM

(04-18-2017 05:00 PM)tdh79 Wrote:  Every time I select a CAS command in HOME view I get "Error: Syntax Error" and i have to remove "CAS." from the command i select, is this a common problem or do I have the wrong firmware or something?

The latest is the one I would recommend. That is 2016.12.08 r11226

I do not see any behavior you report with that. What do you have?


RE: CAS commands in HOME view - tdh79 - 04-20-2017 11:22 AM

(04-19-2017 03:04 PM)Tim Wessman Wrote:  
(04-18-2017 05:00 PM)tdh79 Wrote:  Every time I select a CAS command in HOME view I get "Error: Syntax Error" and i have to remove "CAS." from the command i select, is this a common problem or do I have the wrong firmware or something?

The latest is the one I would recommend. That is 2016.12.08 r11226

I do not see any behavior you report with that. What do you have?

Properties say:
Application version: 20160829 v10637
Operating system version: V0.048.635
Serial number: 3CD62401BX


RE: CAS commands in HOME view - Han - 04-20-2017 01:32 PM

(04-19-2017 03:04 PM)Tim Wessman Wrote:  
(04-18-2017 05:00 PM)tdh79 Wrote:  Every time I select a CAS command in HOME view I get "Error: Syntax Error" and i have to remove "CAS." from the command i select, is this a common problem or do I have the wrong firmware or something?

The latest is the one I would recommend. That is 2016.12.08 r11226

I do not see any behavior you report with that. What do you have?

On the virtual calc, if you press the toolbox button > CAS > Calculus > diff then the command line shows CAS.diff()


RE: CAS commands in HOME view - tdh79 - 04-20-2017 01:42 PM

(04-20-2017 01:32 PM)Han Wrote:  
(04-19-2017 03:04 PM)Tim Wessman Wrote:  The latest is the one I would recommend. That is 2016.12.08 r11226

I do not see any behavior you report with that. What do you have?

On the virtual calc, if you press the toolbox button > CAS > Calculus > diff then the command line shows CAS.diff()

Yes, but when i do that on the physical calc I have to remove the CAS. part
Apparently the virtual one behaves different from the physical one even though their both set to RPN


RE: CAS commands in HOME view - Tim Wessman - 04-20-2017 03:29 PM

(04-20-2017 01:42 PM)tdh79 Wrote:  even though their both set to RPN

Well, that information would have been pretty important at the start. Smile

Yes, this is the current behavior. No, it probably shouldn't be doing that.


RE: CAS commands in HOME view - Tim Wessman - 04-20-2017 03:53 PM

(04-20-2017 01:42 PM)tdh79 Wrote:  even though their both set to RPN

Well, that information would have been pretty important at the start. Smile

Yes, this is the current behavior. No, it probably shouldn't be doing that. I'll file an issue to look at why it is misbehaving in RPN mode here.


RE: CAS commands in HOME view - tdh79 - 04-20-2017 04:40 PM

(04-20-2017 03:53 PM)Tim Wessman Wrote:  
(04-20-2017 01:42 PM)tdh79 Wrote:  even though their both set to RPN

Well, that information would have been pretty important at the start. Smile

Yes, this is the current behavior. No, it probably shouldn't be doing that. I'll file an issue to look at why it is misbehaving in RPN mode here.

Thanks Smile


RE: CAS commands in HOME view - retoa - 04-24-2017 07:16 AM

What did you choose as "digit grouping" in the home settings?

Normally you have this problem if in the home settings you are using the , instead of the . as a decimal point i.e. if you select 123456,789


RE: CAS commands in HOME view - tdh79 - 04-25-2017 12:49 PM

(04-24-2017 07:16 AM)retoa Wrote:  What did you choose as "digit grouping" in the home settings?

Normally you have this problem if in the home settings you are using the , instead of the . as a decimal point i.e. if you select 123456,789

Yup, problem gone after i changed it to . as a decimal point. Thanks Smile


RE: CAS commands in HOME view - chromos - 04-25-2017 03:07 PM

(04-24-2017 07:16 AM)retoa Wrote:  What did you choose as "digit grouping" in the home settings?

Normally you have this problem if in the home settings you are using the , instead of the . as a decimal point i.e. if you select 123456,789

Maybe best solution to avoid this sort of problems is disabling user selectable digit grouping in next firmware release.


RE: CAS commands in HOME view - cyrille de brébisson - 04-26-2017 06:05 AM

Hello,

Can you give us example of command line(s) that you are entering in the calculator?

Cyrille


RE: CAS commands in HOME view - retoa - 04-27-2017 06:40 AM

Hello Cyrille,

if you select 123456,789 as digit grouping every command beginning with CAS.something, like CAS.proot([2 3 -4]) gives a syntax error.
If you change it to CAS,proot([2 3 -4]) then it works. To have the "," you have to press "."

[attachment=4700]

If you execute the command with 123456.789 as digit grouping and you change it to 123456,789 after the command has been executed on the command line you see CAS,proot([2 3 -4]).

[attachment=4701]

Reto