Post Reply 
Some problems Ive been having with cas programs
07-18-2017, 11:55 AM
Post: #1
Some problems Ive been having with cas programs
OK, First of all, is there a way I can get the name of a cas function and have it appear in a program by selecting from a menu (without having to type the full name)? Same for on the runtime line.???
When I select cas vars from the mem menu, it just shows me the definition, not grabbing it to place it on the line like I can do with home functions.

Second problem is when I run a cas program, it seems to just show the definition, rather than run the program.....how do I run it?
Thx
Find all posts by this user
Quote this message in a reply
07-18-2017, 12:07 PM
Post: #2
RE: Some problems Ive been having with cas programs
I got the second problem solved....you must always put the () after the function name and then it runs. Otherwise, it just shows the definition....though I don't know what the latter serves.
Find all posts by this user
Quote this message in a reply
07-18-2017, 03:15 PM
Post: #3
RE: Some problems Ive been having with cas programs
(07-18-2017 11:55 AM)webmasterpdx Wrote:  When I select cas vars from the mem menu, it just shows me the definition, not grabbing it to place it on the line like I can do with home functions.
Try Vars>CAS>Program instead of the mem menu.
Find all posts by this user
Quote this message in a reply
07-19-2017, 12:42 AM
Post: #4
RE: Some problems Ive been having with cas programs
(07-18-2017 12:07 PM)webmasterpdx Wrote:  Otherwise, it just shows the definition....though I don't know what the latter serves.

Well, as I mentioned in a few other places the CAS is a functional CAS. Everything is an object. When you just call the object directly by name (including a function which is an object/variable) you get the content back.

There are lots of commands that let you operate directly on the content of functions rather then evaluating them.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
07-19-2017, 10:49 AM
Post: #5
RE: Some problems Ive been having with cas programs
First, thanks Didier, that solves it for me!
Second, Tim, I haven't time right now, but it occurred to me that possibly this might allow macro type text substitution....I'll have to experiment with this....might have it's uses. Thx.
Find all posts by this user
Quote this message in a reply
Post Reply 




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