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

Home » Public Forums » archive » Re: Really really long format keywords
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: Really really long format keywords [message #27382 is a reply to message #27377] Mon, 22 October 2001 12:59 Go to previous messageGo to previous message
Sean Raffuse is currently offline  Sean Raffuse
Messages: 46
Registered: July 2001
Member
Hehe. The longest a line of source code can be is 256 characters


Paul van Delst <paul.vandelst@noaa.gov> wrote in message
news:3BD471CF.3F9DA66@noaa.gov...
> Sean Raffuse wrote:
>>
>> I would like to write formatted output to a file. My problem is that my
>> format specifications are too long to fit on one line in IDL, yet I
would
>> like all of the data to be written to one line.
>>
>> eg.
>>
>> printf, lun, data, format = '(a5, 5x, f5.2, f5.2 . . . . . and so on . .
.
>> . . . . . .)
>>
>> Is there a character that I can use that works like the '$' character
inside
>> this string?
>
> Assuming the format isn't going to change too much and there are
repeatable format specifiers,
> what about:
>
> printf, lun, data, format = '(a5, 5x, 2(1x,f5.2), 7(1x,i10), etc..)'
>
> How long *is* one line allowed to be in IDL source code anyway?
>
> paulv
>
> --
> Paul van Delst Religious and cultural
> CIMSS @ NOAA/NCEP purity is a fundamentalist
> Ph: (301)763-8000 x7274 fantasy
> Fax:(301)763-8545 V.S.Naipaul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: using an unlnown number of keywords
Next Topic: Stripping ^Ms off textfiles

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

Current Time: Fri Oct 10 05:33:39 PDT 2025

Total time taken to generate the page: 0.48521 seconds