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

Home » Public Forums » archive » Re: Formatting output
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: Formatting output [message #23597 is a reply to message #23435] Mon, 29 January 2001 11:50 Go to previous message
Guillaume Dargaud is currently offline  Guillaume Dargaud
Messages: 15
Registered: January 2001
Junior Member
OK, thanks to your replies, I managed to do what I wanted:
FOR i=0, OrbNum DO xtn[i]=STRING( $
OrbArra[i,0], OrbArra[i,12], OrbArray[i,13], $
FORMAT='(I0, "-", I0, "h", I2.2)' )

Which outputs something like "1234-14h30"

Now I'd like to have this result on 2 lines (instead of a '-' separator).
So I tried FORMAT='(I0, /, I0, "h", I2.2)'
But I get "Out of range subscript encountered: XTN"

Any idea ?
--
Guillaume Dargaud
Colorado State University - Dept of Atmospheric Science
http://rome.atmos.colostate.edu/
"Relax, its only ONES and ZEROS !"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reading GrADS data file in IDL
Next Topic: Re: Creating a sphere (Object Graphics)

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

Current Time: Fri Oct 10 06:17:37 PDT 2025

Total time taken to generate the page: 0.95672 seconds