[GAP Forum] Large outputs in GAP

Russ Woodroofe rsw9 at cornell.edu
Fri Oct 19 15:36:08 BST 2018



Dear Muniru,
If you just want to put out one object without the end-of-line characters, you can do e.g.
PrintFormattedString(String(170^169));

If you want to turn off the \ and line-breaks altogether, you can try
SetPrintFormattingStatus("*stdout*", false);

(And the same with false replaced by true to turn it back on.)
Best,

  --Russ

> On 19 Oct 2018, at 11:48, [Muniru Asiru] maasiru at yahoo.com <maasiru at yahoo.com> wrote:
> 
> 
> Dear Forum, Dear All,
> 
> In evaluating, for instance, 170^169; GAP usually displays the output along with an end-of-line  character \.  How do I prevent this end of line character \ from appearing in the output so that the output is flushed together.
> Thanks.
> 
> Dr. Muniru A. Asiru, Department of Mathematics & Statistics, The Federal Polytechnic, P.M.B. 55, Bida, Niger State, Nigeria. OR Dr. Muniru A. Asiru, P.O.Box. 294, Bida, Niger State, Nigeria. Email Addresses: maasiru at yahoo.com,  remiasiru at yahoo.com, Mobile Phone number: +2348034271010
> _______________________________________________
> Forum mailing list
> Forum at gap-system.org
> https://mail.gap-system.org/mailman/listinfo/forum




More information about the Forum mailing list