> < ^ Date: Fri, 29 Oct 1993 10:41:22 +0100
> < ^ From: Derek Holt <dfh@maths.warwick.ac.uk >
> ^ Subject: saving and restoring

I have on several occasions found it annoyingly difficult to save data from
a GAP session in a form in which it can be read straight back in again in
a later session. Is there some straightforward way of doing this, which
I do not know about?

This morning I was close to panic. Some wretched safety officer wanted to
check all of the electrical fittings in my office, which meant shutting
my Workstation down, and it had just spent all night calculating and
simplifying an enormous subgroup presentation. However, I came up with
the following procedure for saving my presentation in a GAP-readable form.
Is there any easier way?

SavePres := function(G,filename)
# Save the finitely presented group G to the file filename, so that it
# can be read back in later.
local g;
for g in G.generators do

Derek Holt.

> < [top]