Post Reply 
Program takes in variable non exact.
07-18-2016, 11:38 AM
Post: #4
RE: Program takes in variable non exact.
Use this template:

Code:
#cas
name_of_program(paramaters):=
BEGIN
 //put your code here

 return 0; //replace 0 with what you need returned
END;
#end

Normal programs are run in HOME mode, that's why you don't get symbolic results. The #cas and #end tell the compiler to run this code in CAS mode.

Just copy and paste the template above into the emulator, change the name, and add your code. Also return the answer you want instead of 0. It's hard to be more specific without seeing the actual code you are trying to write.

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Program takes in variable non exact. - roadrunner - 07-18-2016 11:38 AM



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