MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124907] Re: Set page width for Put; or is there a stream associated with Put
  • From: "Alexey Popkov" <lehin.p at gmail.com>
  • Date: Sat, 11 Feb 2012 06:40:23 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jb2htn$5dl$1@smc.vnet.net>

Hello,

You can investigate how Put works with Trace:

Trace[x >> "log.txt", TraceInternal -> True]

The output shows that Put is based on OpenWrite.

So what you need is to evaluate

SetOptions[OpenAppend, PageWidth -> Infinity]

HTH,
Alexey

"ezh" <dgolber at aol.com> news:jb2htn$5dl$1 at smc.vnet.net...
> 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
> 





  • Prev by Date: Some assistance from seasoned users.
  • Next by Date: Need Help with Sow within While Loop
  • Previous by thread: Re: Some assistance from seasoned users.
  • Next by thread: Re: Set page width for Put; or is there a stream associated with Put