Post Reply 
CAS.part() behaviour
12-23-2018, 12:28 AM
Post: #4
RE: CAS.part() behaviour
(12-21-2018 06:52 PM)parisse Wrote:  I don't understand why you can not run a CAS program from the CAS. Nothing is simplified before a CAS program is called, but of course arguments are evaluated unless they are quoted.

You say nothing is simplified - that is not what I am seeing. Try the following:

Starting with the emulator, freshly reset via the menu and running version "Build: 2.1.14181 (2018 10 16)", I created this program:
Code:
#cas
test(a):=
BEGIN
  RETURN a;
END;
#end
Running from CAS, I get test('1+1') --> 2.

If I create this program:
Code:
test(a)
BEGIN
  RETURN a;
END;
Running from HOME I get test('1+1') --> 1+1

If CAS does not simplify, as you say, then how do I get the CAS program to return 1+1 rather than 2?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
CAS.part() behaviour - BruceH - 12-21-2018, 12:20 PM
RE: CAS.part() behaviour - Albert Chan - 12-21-2018, 01:36 PM
RE: CAS.part() behaviour - parisse - 12-21-2018, 06:52 PM
RE: CAS.part() behaviour - BruceH - 12-23-2018 12:28 AM
RE: CAS.part() behaviour - parisse - 12-23-2018, 07:09 AM



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