MathGroup Archive 1998

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

Search the Archive

Re: Write ing strings without quotes and linefeeds

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13325] Re: Write ing strings without quotes and linefeeds
  • From: Arnoud Buzing <arnoudb>
  • Date: Mon, 20 Jul 1998 02:49:48 -0400
  • Organization: Wolfram Research, Inc.
  • References: <6okl1t$1mm@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

sean_ross_at_pl-04m3 at smtpgw1.plk.af.mil wrote:
> 
>      I am attempting to write a data file to disk using spaces as the
>      delimiters and linefeeds as record separators.  When I use Write,
>      as in:
> 
>      Write[stream,"mystring \n","next line"]
> 
>      what actually appears in the file is
> 
>      "mystring \n""next line"
> 
>      rather than:
> 
>      mystring
>      next line
> 
>      Does anyone know how to append line feeds onto strings and not put
>      quotes around strings?

This may help: WriteString[stream,"my string \n","next line"]

---
Arnoud


  • Prev by Date: Re: Re: Non-commutative algebra
  • Next by Date: Re: 2-D Chebyshev Polynomial Regression
  • Previous by thread: Re: Write ing strings without quotes and linefeeds
  • Next by thread: Stacking Graphics