comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Writing CSV files?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Writing CSV files? [message #37523] Tue, 06 January 2004 14:00 Go to next message
Jonathan Greenberg is currently offline  Jonathan Greenberg
Messages: 91
Registered: November 2002
Member
Is there an easy way to write an array to an ASCII comma deliminated file
(CSV)? I see a READ_ASCII command but no WRITE_ASCII. Thanks!

--j
Re: Writing CSV files? [message #37603 is a reply to message #37523] Thu, 08 January 2004 07:04 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Timm Weitkamp writes:

> Format codes provide a convenient way of bringing numbers in IDL into
> shape for output to screen or files (see also "Format Codes" in the online
> help). Why not use them in a WRITE_CSV routine, like this simple one:

Good idea! I *knew* there was a better way to do this, but I
can never remember what it is. Now I've written it down so
I won't forget it. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Writing CSV files?
Next Topic: Creating color MPG using IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:18:13 PDT 2025

Total time taken to generate the page: 0.00625 seconds