HP Forums

Full Version: CAS commands in HOME view
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
(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
(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..
(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?
(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
(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()
(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
(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.
(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.
(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
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
(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
(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.
Hello,

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

Cyrille
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
Reference URL's