Post Reply 
cross calling ppl and #cas ???
10-05-2015, 07:13 AM
Post: #2
RE: cross calling ppl and #cas ???

Easy answer: I can't even remember!

Ok, looking in the code, here are the rules:
From PPL to CAS
- Parameters are NOT evaluated prior to the CAS call Unless it is a list
- All local variables in the parameters are replaced by their values (because CAS does not have access to local variables)
- Parameters which are Strings are parsed by the CAS parser
- CAS default variable is changed to X, Y and theta depending on the current app
- CAS function is evaluated
- CAS default variable is restored
- CAS Result is transformed into PPL construct and returned

from CAS to PPL
- All arguments are evaluated
- Arguments are transformed into PPL constructs and PPL function is called
- Result is transformed back into CAS and returned


Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
cross calling ppl and #cas ??? - ji3m - 10-04-2015, 12:21 PM
RE: cross calling ppl and #cas ??? - cyrille de brébisson - 10-05-2015 07:13 AM
RE: cross calling ppl and #cas ??? - ji3m - 10-05-2015, 03:27 PM
RE: cross calling ppl and #cas ??? - Han - 10-05-2015, 03:36 PM

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