Post Reply 
Why x:=CAS("x") = 0 ?
03-27-2018, 12:52 PM
Post: #1
Why x:=CAS("x") = 0 ?
I know that doing this may not make much sense, since the use of CAS variables does not require the creation of an HP PPL variable with the same name, or even that they are created. But recently I could see how some people use it and I have doubts.

LOCAL x=CAS("x");
PRINT(x) → 0 //Why? recursivity?

LOCAL var1=CAS("x");
PRINT(var1) → x //Expected, usual practice

LOCAL x=CAS(CAS("x"));
PRINT(x) → x //Why???

I would like to know what this is due to and if there will be any correction in this regard.

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


Messages In This Thread
Why x:=CAS("x") = 0 ? - Carlos295pz - 03-27-2018 12:52 PM
RE: Why x:=CAS("x") = 0 ? - Han - 03-27-2018, 02:24 PM
RE: Why x:=CAS("x") = 0 ? - Carlos295pz - 03-28-2018, 02:47 AM
RE: Why x:=CAS("x") = 0 ? - Carlos295pz - 03-28-2018, 03:21 AM
RE: Why x:=CAS("x") = 0 ? - Carlos295pz - 03-29-2018, 11:14 AM



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