MathGroup Archive 1999

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

Search the Archive

Re: Preventing NotebookWrite From Wrapping

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20470] Re: [mg20431] Preventing NotebookWrite From Wrapping
  • From: BobHanlon at aol.com
  • Date: Wed, 27 Oct 1999 02:04:41 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Steve,

Try this:

minRes = .0522; maxRes = 1.2;

line1 = "Min Residual = " <> ToString[minRes] <> ", " <> "Max Residual = " <> 
      ToString[maxres];

nb = NotebookCreate[ ];

NotebookWrite[nb, line1]


Bob Hanlon

In a message dated 10/26/1999 4:38:51 AM, nospam at nospam.com writes:

>In Mathematica 3.0 how would I write text and the value of a parameter
>to a notebook such that both end up on the same line ?
>
>What I would like written to the notebook is for example
>
>Min Residual = .0522
>
>I tried
>NotebookWrite[nb,{"Min Residual=",minresidual}]
>
>where nb=NotebookCreate[] and minresidual is the desired value.
>
>The problem is that minresidual wraps to the next line, like so
>
>Min Residual=
>.0522
>
>Is there a way to prevent this wrapping ?
>


  • Prev by Date: Re: Avoid long output, Real variables?
  • Next by Date: Re: Basic Laplace Transforms
  • Previous by thread: Preventing NotebookWrite From Wrapping
  • Next by thread: Re: Preventing NotebookWrite From Wrapping