Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8574

Re: Set page width for Put; or is there a stream associated with Put

From David Bailey <dave@removedbailey.co.uk>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Set page width for Put; or is there a stream associated with Put
Date 2012-02-17 11:28 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jhldln$ouj$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 29/11/2011 12:07, ezh wrote:
> Running Mathematica 4.
> I have a bunch of Mathematica code that uses "Put".  Is there a way to
> set the page width (so long lines don't get  folded)?
>
> If I knew a stream associated with Put, then I could set the Page
> Width there.
>
> I suspect that the answer is to not use put, but to use "Open","Write,
> etc.
>
> Thanks
>
Coincidentally, I encountered this problem recently, and discovered that 
Put can take a stream argument instead of the file argument - so you can 
open the stream with a suitable PageWidth.

David Bailey
http://www.dbaileyconsultancy.co.uk

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Set page width for Put; or is there a stream associated with Put David Bailey <dave@removedbailey.co.uk> - 2012-02-17 11:28 +0000

csiph-web