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

Home » Public Forums » archive » Format code question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Format code question [message #61399] Wed, 16 July 2008 05:09
lbnc is currently offline  lbnc
Messages: 15
Registered: January 2005
Junior Member
Hi there,

to me, the format code '(I03,",",I03,",",I03)' is the same as
'(I03,2(",",I03))'. Not, it seems, to IDL:

aa = indgen(2, 3)
str_aa = string(aa, format='(I03,",",I03,",",I03)')
print, str_aa
str_aa = string(aa, format='(I03,2(",",I03))')
print, str_aa
end

gives here on my machine

000,001,002 003,004,005
000,001,002 ,003,004 ,005,

Anybody knows why? Bug or feature?

Cheers
Lasse Clausen
[Message index]
 
Read Message
Previous Topic: LAUNCH JAVA (applet) APPLICATION with IDL
Next Topic: Format Code Question

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

Current Time: Fri Oct 10 14:03:28 PDT 2025

Total time taken to generate the page: 0.00199 seconds