I have a notebook where I calculate integrals that take a long time to evaluate.
Let's say that I assign each evaluation to a symbol:
a1=some difficult integral
a2=some other difficult integral
In a later session I want to continue my calculations with those symbol a1, a2 and more. So one way is to write into a file the values:
Put[a1,a2,...,{filename}]
But when I use Get in a later session, Mathematica only takes the first line of the file:
Get["filename"]
(*prints only the value of a1*)
So a1=Get["filename"] gives the value for a1, but how do I get the second line to be the value of a2?
The option of using DumpSave works fine but it creates a binary file and I prefer non-binary files. Is there a way to do that with using plain text streams?
