HP Forums
Difference between cas vs non-cas programming - 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: Difference between cas vs non-cas programming (/thread-8534.html)



Difference between cas vs non-cas programming - webmasterpdx - 06-20-2017 04:52 AM

I know that if you check the CAS box when creating a new program it creates a different program structure. However, I've not been able to find any documentation describing the difference between a CAS and non-CAS program. Anyone got any links on this? I did find this one, but it only describes how to create a CAS program, but nothing about the difference....
https://h30434.www3.hp.com/t5/Calculators/HP-Prime-Cas-Mode-in-Program-functions/m-p/5726289


RE: Difference between cas vs non-cas programming - webmasterpdx - 06-20-2017 11:05 AM

I did find one useful document that explains some of the differences....is the only one I've found so far...
http://www.hpmuseum.org/forum/thread-3149.html?highlight=cas+program


RE: Difference between cas vs non-cas programming - cyrille de brébisson - 06-21-2017 05:13 AM

Hello,

Both programming languages are quite close...

For the CAS language, the best source of info is the xcas documentation on the xcas website.

Cyrille


RE: Difference between cas vs non-cas programming - webmasterpdx - 06-21-2017 12:21 PM

So what are the difference. I mean isn't there a link somewhere? How are others learning to program more complex programs without such a link? I don't understand why HP hasn't provided a tutorial on this subject.
So you are telling me that XCAS is a language like the HPPL language .
When I write programs I write one program and it's going to mix CAS and non-cas functionality. How do I do these steps and how do I know when to do them?
We need better documentation.
Thanks in advance.


RE: Difference between cas vs non-cas programming - Thomas_Sch - 06-21-2017 01:23 PM

XCAS ist the "base" of the CAS-system in the Prime.
(1) https://en.wikipedia.org/wiki/Xcas
(2) Website: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
(3) chapter about Gias/Xcas on the Prime:
http://www-fourier.ujf-grenoble.fr/~parisse/giac.html#hprime

You can download XCAS also for your PC, e.g. Windows (or use in directly in the browser).
XCAS can be used interactively, and it can be programmed, these are (X)CAS-programs.
From the site mentioned above: "Programmation :
functions, local variables, tests, loops. Choice of syntax (C-like, Maple, Mupad, TI89). It is sometimes possible to run a Maple, MuPAD or TI89 without user intervention inside Xcas. Program editor. Interactive debugger. "

XCAS commands in english:
http://www-fourier.ujf-grenoble.fr/~parisse/giac/doc/en/cascmd_en/

HTH