MathGroup Archive 1998

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

Search the Archive

Re: Save List to a file



Carlo Marinelli wrote:
> 
> Hi!
> 
> Is there something working similarly to ReadList, but Writing a list to
> a file in ASCII format, for example, suitable for using the data in
> other software, like a spreadsheet or another system? Thank you.
> 
> Carlo
> 
> ---
> Carlo Marinelli
> carlo@itp.ucsb.edu
> http://members.tripod.com/~cmarinelli

No, there is nothing automatic, but it is a fairly simple programming
problem to solve:

Take your list and transform it to a string with ToString.  Then use the
string manipulation commands to delete the curly braces or replace
commas with spaces.  If you try and put return characters into a
string, it will just show the \n, so make separate WriteAppends for
each line you want.
-- 
Remove the _nospam_ in the return address to respond.



  • Prev by Date: Re: Save List to a file
  • Next by Date: RE: Very odd behaviour in Mod/
  • Prev by thread: Save List to a file
  • Next by thread: Re: Save List to a file