Post Reply 
How to do ?
10-02-2018, 10:16 AM
Post: #1
How to do ?
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.

GĂ©rard.
Find all posts by this user
Quote this message in a reply
10-02-2018, 12:10 PM (This post was last modified: 10-02-2018 12:16 PM by StephenG1CMZ.)
Post: #2
RE: How to do ?
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(...).

Stephen Lewkowicz (G1CMZ)
Visit this user's website Find all posts by this user
Quote this message in a reply
10-02-2018, 03:59 PM
Post: #3
RE: How to do ?
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

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)