HP Forums

Full Version: How to do ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I wonder how can I do to call a Cas program as a subroutine of my main
program which is not a CAS one ?

example :

Export.....
Local.....
FOR.....
DO CASprogram
end;
.
.


All my test fail, may be some have an idea to hemp me ?

Thanks.
Do the examples here help
http://www.hpmuseum.org/forum/thread-962...#pid104989
CAS1 is a CAS function contained in a #CAS section called by a PPL main program
CAS2 is some CAS code embedded within a CAS call within the PPL.
Sometimes, I think it needs to be a string:
CAS("...") rather than CAS(...).
Call it with a parameter even if it is not necessary

FOR.....
DO CASprogram(0)
end;

It may be useful to know about the preset parameters in CAS
http://www.hpmuseum.org/forum/thread-10585.html
Reference URL's