HP Prime Forum
CAS() call in HPPPL program - Printable Version

+- HP Prime Forum (http://forum.hp-prime.de)
+-- Forum: HP Prime (/forumdisplay.php?fid=1)
+--- Forum: Questions to HP (/forumdisplay.php?fid=3)
+--- Thread: CAS() call in HPPPL program (/showthread.php?tid=104)

CAS() call in HPPPL program - JohanNeven - 15-05-2016 05:18 PM

I'm trying to use the CAS()-function from a HPPPL program following an example found on the MoHPC forum. Here the code:

local cmd:="solve(diff(" + f + ",x),x)";

The execution of CASCMD1("x^3-3*x") gives the cmd-string "solve(diff(x^3-3*x,x),x)" instead of the normal result {-1,1}.

I have installed the latest firmware (10077). Is this normal behaviour in this firmware version? The docs corresponding with this firmware are not yet published I think.

RE: CAS() call in HPPPL program - brebisson - 17-05-2016 06:52 AM


Yes, this is normal in 10077...
I posted a paper explaining the changes here:

The quick summary is that the CAS/Home interaction is now much better, but you loose the ability to do thing with string as you did here.
You should be able to do directly:


RE: CAS() call in HPPPL program - JohanNeven - 17-05-2016 11:35 AM

Thanks for the information.

RE: CAS() call in HPPPL program - hape - 02-06-2016 08:15 AM

Can we be optimistic about a DIDACTICALLY thought manual that does not lack CONTENT be released in the near future?
I mean thank you for posting your paper, but a sidenote in the patchnote like home/cas improved and forcing people to search the internet is not what I would expect from a prime manufacturer. HP should feel obligated to offer a well organized documentation. The way things are now is not at all satisfactural.
The original question is only a small part of the whole...
I do not mean to blame anyone, I don't want to sound rude, but things did not get much better since prime's release.