Dear Forum, Dear Bob Heffernan,

> What I would really like to do is set attributes for groups in the small
> groups library in such a way that this information persists between
> sessions.

There is no such feature in the small group library (or more general in GAP 
beyond saving workspaces, which will be version specific). You would have to 
create your own scheme, say by wring out files (such as -- assuming MacOS or 
Unix for the file names --

PrintTo("/Users/myname/mydatabase","database:=",database,";\n");

) of basic data (lists, integers -- objects such as groups will not store all 
their attributes) and reading them in again in the next session, maybe with 
some added protection to avoid data loss if errors occur:

Exec("mv /Users/myname/mydatabase /Users/myname/mydatabase.old");
PrintTo("/Users/myname/mydatabase.tmp","database:=",database,";\n");
Exec("mv /Users/myname/mydatabase.tmp /Users/myname/mydatabase");


Best,
 
   Alexander Hulpke



_______________________________________________
Forum mailing list
Forum@gap-system.org
https://mail.gap-system.org/mailman/listinfo/forum

Reply via email to