MathGroup Archive 1998

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

Search the Archive

Re: blank line




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