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 #44674 is a reply to message #44673] Thu, 07 July 2005 12:39 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
guillaume.drolet.1@ulaval.ca wrote:
> Hi all IDL users!
>
> I'm currently writing formatted file with IDL using the printf
> function.
> I want to have my 7 variables on the same line:
>
> printf, lun_1,
> data[0,m],data[1,m],data[2,m],data[3,m],data[4,m],data[5,m], doy
>
> In my output file, the last variable is on the next line, apart from
> the 6 other variables. Then the loop goes on and it starts a new line
> with only the first 6 variables and another one with only the seventh,
> etc...
>
> Is the printf function retrained in terms of line length or number of
> characters?
>
> Thanks for helping on this. It is pretty annoying and not the first
> time I'm running into this problem with IDL.
>
> Gui
>

Hello,

I think you might need to specify the WIDTH keyword when you OPEN the
file. Try something big like 500.

Ben
[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: Sat Oct 11 00:02:22 PDT 2025

Total time taken to generate the page: 0.80046 seconds