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

Home » Public Forums » archive » Re: maximum line length with printf?
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: maximum line length with printf? [message #44669 is a reply to message #44659] Thu, 07 July 2005 13:41 Go to previous messageGo to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Nonsense, works fine with arrays: Try
print,findgen(10),100,format='(11f8.2)'

Haje

<francesca_terenzi@yahoo.it> wrote in message
news:1120767202.505829.66730@z14g2000cwz.googlegroups.com...
> Yes, using the format keyword is exactly what I was suggesting to do in
> first place, but badly...!!!!
> In any case, I think that should not work either if one of the
> variables is not an array and if he is using a loop.
> alternatively, he can avoid using the loop at all and just write:
>
> openw,unit,fileout
> printf,data[0],data[1],data[2],data[3],data[4],data[5],doy,
> format='(....)'
> where inside the parentesis he will put the right formatting for each
> and everyone of the data...
>
> actually, i think avoidind the loop will work also if he puts that doy
> data at the end.....
>
> bye bye
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Announcing GDL 0.8.10
Next Topic: Giving Up on Windows

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

Current Time: Fri Oct 10 01:38:46 PDT 2025

Total time taken to generate the page: 1.67682 seconds