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

Home » Public Forums » archive » Delay in printing to screen
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: Delay in printing to screen [message #4347 is a reply to message #4254] Fri, 19 May 1995 00:00 Go to previous message
peter is currently offline  peter
Messages: 80
Registered: February 1994
Member
In article 3phbmeINN221@myall.awadi.com.au, mscutter@awadi.com.au (Michele Scutter) writes:
: >I'm running IDL for Windows and want to print information to the screen about the state
: >of my program, eg my program might contain the lines:
: >
: > print,'What data file do you want to restore?'
: > read,datafile
: > print,'Please wait while restoring data...'
: > restore,datafile
: >
: >The problem I have is that the restore procedure, which may take quite a few seconds, is done before the message 'Please wait while restoring data...' is printed to the screen. I'd like it to be printed before the restore procedure is started. I have also


A similar problem arises when plotting complicated graphics under X,
where IDL sends off the plot commands then merrily continues, but the
output of the commands doesn't appear until IDL returns to the prompt
or to the xmanager.

The solution in that case is to place "WAIT, 0" after the plot command,
which appears to sync everything up, flush buffers, whatever. Maybe
it'll help you under Windoze.


--------------------------------
Peter Webb, HP Labs Medical Dept
E-Mail: peter_webb@hpl.hp.com
Phone: (415) 813-3756
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Yet another bug??
Next Topic: Re: complex math error?

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

Current Time: Sun Oct 12 07:03:59 PDT 2025

Total time taken to generate the page: 0.48284 seconds