[GAP Forum] Writing to File

Bruce W. Colletti bcolletti at compuserve.com
Sun Apr 18 15:46:57 BST 2004

Re GAP 4.3fix4 running under WinXP Home.

How do I set the record length of an output text file?

When printing to the file, numbers follow one another (as desired) until too many occur, at which time GAP automatically creates a new output line.  Numbers are separated by a space or tab.

LogTo("filename") opens the file...maybe that's the problem.  If so, what else should I use?  I've tried an example in the manual that starts:

    name := Filename(DirectoryTemporary(),"test");

but GAP gags on the DirectoryTemporary() command.



More information about the Forum mailing list