Dear Helge Ruddat,
You can use the 'SetPrintFormattingStatus' operation, which sets
whether the output will be formatted with line breaks and indentation,
or not.
There is also an operation 'PrintFormattingStatus' that can be used
to get information about the current setup for this option.
Please see their description and examples in the GAP Manual in your
GAP installation or online at the page
http://www.gap-system.org/Manuals/doc/htm/ref/CHAP010.htm#SSEC004.8
Also, for writing huge amounts of data efficiently with GAP the
utility functions 'PrintTo1', 'AppendTo1' and 'FileString' from the
GAPDoc package by Frank Lübeck and Max Neunhöffer
(http://www.gap-system.org/Packages/gapdoc.html) may also be
interesting for you.
Best wishes,
Alexander Konovalov
On 24 Mar 2006, at 17:23, Helge Ruddat wrote:
Dear GAP supporters!
I am trying to write a large matrix into a text file in such a way
that scilab is able to read it as input. For this I need to write
long strings (about 600 characters) into the file and I am doing this
via AppendTo( filename, string ).
I realized that this function inserts backslashes and newlines to
cut my
strings into smaller pieces, although I do not intend this. It also
is not
documented in the "AppendTo - function - documentation".
Funny is, that the length of the dissected pieces correllates with
the width of my gap terminal window. When I tried to increase
the width of my gap window significantly, gap quit with a
memory access error.
Can someone help me?
I have version 4.4.6.
Thanks in advance,
Helge Ruddat
--
Helge Ruddat / Tivolistraße 16 / 79104 Freiburg i.Br.
Tel.: +49 761 2925203 Uni.: +49 761 2035620
mobil: +49 176 20155350 Heimzone: +49 761 1528137
_______________________________________________
Forum mailing list
[email protected]
http://mail.gap-system.org/mailman/listinfo/forum
_______________________________________________
Forum mailing list
[email protected]
http://mail.gap-system.org/mailman/listinfo/forum