Message Boards Message Boards


Alter the default line length when using PutAppend? i.e.>>>

Posted 2 months ago
3 Replies
1 Total Likes

Can anyone shed any light on this problem? I am saving to a file the results of various length calculations, i.e. numbers separated by commas and it seems that when the line hits 17 numbers the remainder are put on a separate line, this is causing problems when reading back in, using Import with the Line extension, as it is missing data for those lines that have been truncated. For example

{299999434999992, 2, 3, 3, 1, 7, 1, 13, 1, 19, 1, 29, 1, 31, 1, 1601, 1, 
 5023, 1}

The 5023, 1 is on a separate line and when imported back the two lines are treated separately, any help would be appreciated.

3 Replies
Posted 2 months ago

It might be that you are seeing the effects of PageWidth. You can search this


for PageWidth and see whether you can directly apply that or possibly modify your output so that you can apply that

Posted 2 months ago

Hi Bill

Thank you for this, I have managed to alter the page width and all is working fine now.

See extended discussion in this MSE answer:

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract