MathGroup Archive 1999

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

Search the Archive

Re: Write: space between numbers in a line

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16767] Re: [mg16724] Write: space between numbers in a line
  • From: Richard S Hsu <rhsu at U.Arizona.EDU>
  • Date: Wed, 24 Mar 1999 02:24:06 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

On Mon, 22 Mar 1999, Carles Serrat wrote:

> Dear friends:
> 
> I will appreciate if somebody can tell me how to write two columns
> separated by some space using the Write function:
> 
> AA=OpenWrite[A,FormatType->FortranForm];
> Write[AA,10,BLANK ,20]
> 
> I would need something to put in the place of BLANK in order to leave a
> blank space between 10 and 20 in the file (I hope this is clear enough).
> 
> I have tryied:
> Write[AA,10, ,20] and Write[AA,10," ",20]
> but it does not work.
> 
> Thanks a lot in advance, I will appreciate any answer to be sent to my
> email address too:
> 
> carles at molphys.leidenuniv.nl
> 
> Carles
> 

  Just try

  AA=OpenWrite[ "A",  FormatType->OutputForm ] ;
  BLANK = "  ";
  Write[AA,  10, BLANK, 20 ] ;

  Richard
 





  • Prev by Date: Discovered a faster way to Rationalize
  • Next by Date: Re: Write: space between numbers in a line
  • Previous by thread: Write: space between numbers in a line
  • Next by thread: Re: Write: space between numbers in a line