|
[Date Index]
[Thread Index]
[Author Index]
Re: Set page width for Put; or is there a stream associated with Put
- To: mathgroup at smc.vnet.net
- Subject: [mg125006] Re: Set page width for Put; or is there a stream associated with Put
- From: David Bailey <dave at removedbailey.co.uk>
- Date: Fri, 17 Feb 2012 06:26:20 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
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
Prev by Date:
MathLinkException ErrorCode 11
Next by Date:
Function Exp[x^2]*Erfc[x]
Previous by thread:
Re: Set page width for Put; or is there a stream associated with Put
Next by thread:
Need Help with Sow within While Loop
|