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

Home » Public Forums » archive » newbie's question for writing files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
newbie's question for writing files [message #53512] Tue, 17 April 2007 11:19 Go to previous message
geonline714 is currently offline  geonline714
Messages: 7
Registered: April 2007
Junior Member
Dear all,

I have a question that need your kind help:

I have an arrary X with 101 columns and want to output the first
column to integer format and the rest 100 columns to float format:

OPENW,1,'test.txt'
printf, 1, X, format='(I0,100(2X,:,F0))'
close, 1

However, because I used the group specification, format control
reverts to the group repeat specification whose opening parenthesis
matches the next-to-last closing parenthesis of the format string. So,
the data are output to float format except the first line. Would you
please give me some advices for fixing this problem? Thanks

Maybe I cannot use group specification here.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL segfault - debian+variants - libx11-6 client lib
Next Topic: long subscript...

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

Current Time: Fri Oct 10 03:42:32 PDT 2025

Total time taken to generate the page: 0.24255 seconds