Post Reply 
Toolbox CAS-command in cas-program
09-01-2015, 09:49 PM (This post was last modified: 09-02-2015 09:32 AM by Arno K.)
Post: #1
Toolbox CAS-command in cas-program
Today I began another little program which should be a CAS one. So I started the program-list, entered its name: PrimW, checked CAS. Then I chose the command Euler from the Toolbox-Menu which completed that line to eu = CAS.euler(n), some more lines and a little test run showed: CAS.euler(n) is not evaluated in a CAS-program, instead it is given back unchanged (as a string?), return eu brought Euler(108). Deleting "CAS." came up with the desired result 36.
In my opinion this is a serious bug as at least a cas program should ignore the CAS in front of Euler() or the command should be inserted without it.
Arno
So for you to see:
Code:

#cas
test(n):=
BEGIN
local eu;
eu:=CAS.euler(n);
  return eu;
END;
#end

and a picture of the result:
   
Arno
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: