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

Home » Public Forums » archive » Re: How do I force standard output?
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: How do I force standard output? [message #42306 is a reply to message #42305] Thu, 03 February 2005 06:56 Go to previous messageGo to previous message
Matt Feinstein is currently offline  Matt Feinstein
Messages: 33
Registered: July 2002
Member
On Thu, 03 Feb 2005 09:39:57 -0500, Benjamin Hornberger
<benjamin.hornberger@stonybrook.edu> wrote:

>> Normally, IDL (on Win32) will print to standard output while a
>> computation is in progress, but I've found that if I'm doing a large
>> enough computation, it appears to cache output data and only send to
>> standard output when the computation is over. This isn't necessarily a
>> bad thing-- my problem is that I can't overcome this behavior when I
>> really -do- want output during the computation, i.e., the command
>> 'flush, -1' doesn't do anything. The UNIX guy in the next office
>> suggested a 'non-blocking interrupt for keyboard input' but I'd rather
>> not delve into the Win32 API if I don't have to. Any suggestions?
>> Matt Feinstein
>>
>> --
>> There is no virtue in believing something that can be proved to be true.
>
> I asked the same question a few days ago (see my posting "flushing
> stdout"). I got two replies by email (not on the newsgroup) which told
> me to put a tiny WAIT before or after the print statement (wait, .01) as
> a workaround.
>
> Benjamin

Thanks.


Matt Feinstein

--
There is no virtue in believing something that can be proved to be true.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How do I force standard output?
Next Topic: splitting strings

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

Current Time: Sat Oct 11 07:09:36 PDT 2025

Total time taken to generate the page: 0.95921 seconds