Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6804 > unrolled thread
| Started by | ezh <dgolber@aol.com> |
|---|---|
| First post | 2011-11-29 12:07 +0000 |
| Last post | 2012-02-11 20:52 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Set page width for Put; or is there a stream associated with Put ezh <dgolber@aol.com> - 2011-11-29 12:07 +0000
Re: Set page width for Put; or is there a stream associated with Put "Alexey Popkov" <lehin.p@gmail.com> - 2012-02-11 20:52 +0000
| From | ezh <dgolber@aol.com> |
|---|---|
| Date | 2011-11-29 12:07 +0000 |
| Subject | Set page width for Put; or is there a stream associated with Put |
| Message-ID | <jb2htn$5dl$1@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
[toc] | [next] | [standalone]
| From | "Alexey Popkov" <lehin.p@gmail.com> |
|---|---|
| Date | 2012-02-11 20:52 +0000 |
| Message-ID | <jh6kf6$jt3$1@smc.vnet.net> |
| In reply to | #6804 |
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@aol.com> news:jb2htn$5dl$1@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 >
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web