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

Home » Public Forums » archive » Re: Format query
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Format query [message #45921] Wed, 19 October 2005 20:12
neon is currently offline  neon
Messages: 9
Registered: October 2005
Junior Member
oh..so that means format can be only used in one line when dealing with
character and numeric data?...actually i needed to write in a file. I
use writecol.pro to make the data. Does this mean that I wont be able
to use these format codes?
Re: Format query [message #45935 is a reply to message #45921] Tue, 18 October 2005 16:37 Go to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
neon wrote:
> by the way, this is in IDL.

n=indgen(4)
a=['earth', 'air','fire','water']
b=['solid','gas', 'heat', 'liquid']


for i = 0,3 do begin
print,n(i),a(i),b(i),form='(i4,a7,a7)'
end


0 earth solid
1 air gas
2 fire heat
3 water liquid
Re: Format query [message #45937 is a reply to message #45935] Tue, 18 October 2005 16:01 Go to previous message
neon is currently offline  neon
Messages: 9
Registered: October 2005
Junior Member
by the way, this is in IDL.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: lighting /ALIASed models
Next Topic: finding 3rd nearest neighbors in very large data

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

Current Time: Fri Oct 10 01:56:48 PDT 2025

Total time taken to generate the page: 0.31945 seconds