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

Home » Public Forums » archive » Re: creating multiple 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
Re: creating multiple files [message #47362] Tue, 07 February 2006 00:01 Go to previous message
peter.albert@gmx.de is currently offline  peter.albert@gmx.de
Messages: 108
Registered: July 2005
Senior Member
Hi Eli,

if I get you right, you would like to create multiple files with one
call. Sorry, but this won't work. A call to OPENW just creates one
single file, that's it. No array operations on this command. If you
want multiple files, you have to go through a loop.

Then, from your code fragment, you probably got something wrong on the
PRINTF command:

printf, sun"j", index, format='(10i10)'

won't work, neither.

In general, it should read something like

PRINTF, lun, data, format = format

where lun is the logical unit number assigned to the file via the
previous call to OPENW (n.B. lun is _always_ a scalar and can't be an
array).

I regret to say this, but imho you can't avoid a for loop here. And I
doubt HISTOGRAM can help here...

Cheers,

Peter
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: creating multiple files
Next Topic: Re: cannt disable widget timer event?

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

Current Time: Wed Oct 08 19:27:06 PDT 2025

Total time taken to generate the page: 0.00631 seconds