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

Home » Public Forums » archive » Re: Write a vector into a file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Write a vector into a file [message #73426 is a reply to message #73424] Mon, 08 November 2010 17:24 Go to previous messageGo to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 08/11/2010 8:18 PM, sravani vaddi wrote:
> Hi,
> Can somebody let me know how to write a vector into a file, and the
> file should contain data only in one column
> When i used the following code, it prints in some 4 x 3 matrix form.
>
> openw, 1, 'jobs.csv'
> printf, 1, jobs
> close, 1
>
> Thanks,
> Sravani
Hi

try the format keyword:
printf, 1, jobs, format = '(A)'

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: confused multiplying arrays
Next Topic: IDL to FORTRAN translator ?

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

Current Time: Fri Oct 10 15:45:53 PDT 2025

Total time taken to generate the page: 0.40618 seconds