Thanks!
For future reference:
--
--
script fri.input
---
ofile: TextFile  := open("./fri.iout" , "output" )
a:=integrate(1/x^5,x)
ao:=a::InputForm
aos:=unparse(ao)
write!(ofile, aos)
close!(ofile)
--
--
Then command line
--
fricas -nosman <fri.input
--
--
Produces fri.iout
--
(-1)/(4*x^4)
--
--
Then
My only failure is the console display, which is fine for debugging
and  I could route to >/dev/null
unless somebody has a better suggestion.

Thanks to group  for patience!
Ray


On 03/09/2018 01:40 PM, Bill Page wrote:
You try using unparse, e.g.

(1) -> output unparse(integrate(1/x^3,x)::InputForm)

    (-1)/(2*x^2)

--

On Fri, Mar 9, 2018 at 12:25 PM, Raymond Rogers
<[email protected]> wrote:
:) That's what I wanted for input, thanks!
fricas does interpret simple ASCII strings in the manner expected.
Now how do I format the input and output files to communicate to Maxima?
Ideas?


--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to