MathGroup Archive 1998

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

Search the Archive

Re: blank line


  • To: mathgroup@smc.vnet.net
  • Subject: [mg11909] Re: blank line
  • From: Leszek Sczaniecki <lsczan@concentric.net>
  • Date: Thu, 9 Apr 1998 00:33:10 -0400
  • Organization: Concentric Internet Services
  • References: <6g29g6$1fe@smc.vnet.net>


jaimeco@arizona.edu wrote:

> I have been working with this little piece of code and what I want I
> have not been able to get:
>
> OutputForm [ StringForm ["nb = " , 666 ] ]  >> ou
>
> gives me: nb = 666
>
> OutputForm [ StringForm ["nb = ``\n " , 666 ] ]  >> ou
>
> gives me nb = 666   and a subsequent blank line.
>
> However, I would like to get a blank line before the output:
>
> If I try:
>
> OutputForm [ StringForm ["\nnb =  " , 666 ] ]  >> ou
>
> I get :
>                 666
>       nb =
>
> WOuld it be possible to get what I want using just a one line command
> such as the above?

Yes. Use this expression.StringForm ["\nnb =  `1`" , 666 ]

-leszek

>
>
> Thanks
>
> Jaime Combariza
> jaimeco@arizona.edu





  • Prev by Date: Re: Chi-Square Goodness of Fit Test
  • Next by Date: Re: Extracting parameters from NonlinearFit
  • Prev by thread: blank line
  • Next by thread: Re: bivariate normal with 3dplot