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 #27389 is a reply to message #27387] Mon, 22 October 2001 11:42 Go to previous message
Randall Skelton is currently offline  Randall Skelton
Messages: 169
Registered: October 2000
Senior Member
What about just concatenating strings...

a = '(a5, 5x, '
b = 'f5.2, f5.2)'
ab = a + b

printf, lun, data, format = ab

On Mon, 22 Oct 2001, 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?
>
> Thanks,
>
> Sean Raffuse
[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 09:37:33 PDT 2025

Total time taken to generate the page: 1.19923 seconds