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

Home » Public Forums » archive » printing structure values on one line
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
printing structure values on one line [message #303] Wed, 01 July 1992 07:00 Go to previous message
knight is currently offline  knight
Messages: 37
Registered: January 1992
Member
For an application that wants card images (Lowtran), I want to print
the values of a structure
without the {}'s
and
on one line.

Here's an example of the problem.

IDL> t={a:0.,b:0.,c:0.}
IDL> print,t
{ 0.00000 0.00000 0.00000}
IDL> print,t,format='(3f10.2)'
0.00
0.00
0.00

I'd like to print the values on one line, not 3 for example.
Does anybody have any ideas?

Fred
--
=Fred Knight (knight@ll.mit.edu) (617) 981-2027
C-483\\MIT Lincoln Laboratory\\244 Wood Street\\Lexington, MA 02173
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CALL_EXTERNAL: accessing global variables from IDL
Next Topic: char orientation

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

Current Time: Wed Oct 08 16:02:44 PDT 2025

Total time taken to generate the page: 0.00325 seconds