[GAP Forum] StringTime

Robert Morse rm43 at evansville.edu
Tue Nov 24 22:20:16 GMT 2009


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 <NoemieCr at 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 at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
>



More information about the Forum mailing list