Post Reply 
CAS inside prgm ?!
02-05-2015, 09:30 PM (This post was last modified: 02-05-2015 09:34 PM by Han.)
Post: #2
RE: CAS inside prgm ?!
Code:

export inv_laplace(k)
begin
  tmp:="F" + LEFT(STRING(k),1) + "(x)";
  CAS.ilaplace(tmp);
end;

Pretty much all CAS commands that do not natively work in Home require their arguments be passed as strings. The strings may be saved as variables. Thus, CAS.command("arg1", "arg2") can be replaced by CAS.command(arg1,arg2) where arg1 and arg2 are string variables. This style does not allow string expressions as arguments, however. So CAS.command("arg1of2" + "arg2of2") would not work (generally speaking)

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
CAS inside prgm ?! - dg1969 - 02-05-2015, 09:15 PM
RE: CAS inside prgm ?! - Han - 02-05-2015 09:30 PM
RE: CAS inside prgm ?! - dg1969 - 02-07-2015, 05:19 PM



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