Discussion:
[GAP Forum] Large outputs in GAP
[Muniru Asiru] maasiru@yahoo.com
2018-10-19 09:48:27 UTC
Permalink
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: ***@yahoo.com, ***@yahoo.com, Mobile Phone number: +2348034271010
Russ Woodroofe
2018-10-19 14:36:08 UTC
Permalink
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
Post by [Muniru Asiru] ***@yahoo.com
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.
_______________________________________________
Forum mailing list
https://mail.gap-system.org/mailman/listinfo/forum
Loading...