Dear Nasira, The StringTime function takes as input either an integer or a list representing hour, minute, second, millisecond. As the message states rational is not allowed.
See the manual http://www.gap-system.org/Manuals/doc/htm/ref/CHAP026.htm#SSEC008.9 for more information. Regards, Robert F. Morse On Tue, Nov 24, 2009 at 3:58 PM, Nasira Sindhu <noemi...@gmx.de> wrote: > Dear GAP-Forum, > > I need to print StringTime(x/y) but i get a error like this: > > gap> StringTime(35/1000); > List Element: <list> must be a list (not a rational) at > if time[1] < 10 then > Append( string, " " ); > fi; > called from > <function>( <arguments> ) called from read-eval-loop > Entering break read-eval-print loop ... > you can 'quit;' to quit to outer loop, or > you can replace <list> via 'return <list>;' to continue > brk> > > Does anybody know a solution? > > Best regards, > Nasira Sindhu > -- > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 > > _______________________________________________ > Forum mailing list > Forum@mail.gap-system.org > http://mail.gap-system.org/mailman/listinfo/forum > _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum