[GAP Forum] A Question about For Loops

Minghui Liu matliumh at gmail.com
Tue Feb 11 11:31:39 GMT 2014


Dear All,

In GAP I would like to create a free group with 200 generators and call the
nth generator dn. I tried the following commands but it does not work:

gap> F:=FreeGroup(200);
gap> a:=[1..200];
gap> for x in a do
> dx:=F.x;
> od;

The error message is


More information about the Forum mailing list