Using GAP in Sage and reusing the results
I need to run some program in GAP and use the output in another program in Sage.
I tried running gap_console()
and then running "a := 1;" in GAP.
After exiting that console and going gack to Sage, my calculations were lost.
When I asked the value of "a" in Sage, I got:
NameError: name "a" is not defined.
Is there any command in Sage to solve this problem?