Dear Forum members, what's wrong in the following two examples of GAP code:
G := AlternatingGroup(12); gens := StraightLineProgGens(GeneratorsOfGroup(G)); G := Group(gens); A := AutomorphismGroup(G); it break's with error: CyclePermInt: <perm> must be a permutation (not a object (positional)) at cyc := CyclePermInt( perm, i ); called from CycleStructurePerm( e[i] ) called from func( elm ) called from ForAny( [ 1 .. Length( e ) ], function ( i ) return CycleStructurePerm( e[i] ) <> CycleStructurePerm( f[i] ); end ) called from RepOpElmTuplesPermGroup( true, G, [ rep ], [ rep ^ Int( exp ) ], StabilizerOfExternalSet( class ), StabilizerOfExternalSet( class ) ) called from CompleteGaloisGroupPElement( cl, gal, power, p ) called from ... and the secod error: Syntax error: ; expected in test2.g line 5 SaveWorkspace("ttt"); ^ Error reading initial file "test2.g" abandoning remaining files while reading file i := 1; j := 2; while i < j do SaveWorkspace("ttt"); i := i + 1; od; These stylized code examples arising from real... Cheers, Alec Makosi _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum