i'm trying to write a program in GAP to obtain the time that GAP needs to construct the groups of an order given. I'm using the command:
ConstructAllGroups(order);;time;
Is there anyway to save the value of "time" in a variable? I did it with:
a:=ConstructAllGroups(10);;time;
but only the groups were saved.
Time is just like a variable (this is different to the time command in unix and other systems), so you can assign its value to other variables:
Within a program I would rather refer to the value of Runtime(), that is:
(community wiki so that a web search finds an answer)