Re: Delay in printing to screen [message #4252] |
Fri, 19 May 1995 00:00 |
knipp
Messages: 68 Registered: January 1993
|
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
> tried using the message command with the keyword 'informational', but experience the
> same delay. The Reference Guide says that the !QUIET system variable controls the
> printing of informational messages, but I can't find any other references to this
> variable or how to change it so that messages are printed immediately to the screen.
> Does anyone know if the same thing happens when running IDL under UNIX or if there is
> a system variable or 'work around' I can use in Windows to remove this delay time?
>
> Thanks,
>
> Michele Scutter
>
> ---
>
> End Of Message
>
>
Try the command FLUSH, unit ; her unit=-1 (stout)
------------------------------------------------------------ ------------
Karlheinz Knipp
knipp@ipi.uni-hannover.de
------------------------------------------------------------ ------------
|
|
|