Re: Writing in IDL at the same line in the screen [message #71875] |
Tue, 27 July 2010 00:09 |
lila hadji
Messages: 7 Registered: June 2010
|
Junior Member |
|
|
On 26 juil, 18:26, mankoff <mank...@gmail.com> wrote:
> On Jul 26, 8:42 am, Lila <lhad...@gmail.com> wrote:
>
>> Hello everybody!
>
>> I want to create like a progress bar with IDL console, where the line
>> is completed progressively while the process is executing.
>> Unfortunately, print command, returns to a new line immediately. Is
>> there any tips to be able to rewrite on the same line on screen,
>> please?
>> I appreciate your help in advance!
>
>> Thanks
>> L.H.
>
> See STATUSLINE from the markwardt library.
>
> -k.
Thank you very much for your help!
Regards!
L.H.
|
|
|
Re: Writing in IDL at the same line in the screen [message #71897 is a reply to message #71875] |
Mon, 26 July 2010 09:26  |
mankoff
Messages: 131 Registered: March 2004
|
Senior Member |
|
|
On Jul 26, 8:42 am, Lila <lhad...@gmail.com> wrote:
> Hello everybody!
>
> I want to create like a progress bar with IDL console, where the line
> is completed progressively while the process is executing.
> Unfortunately, print command, returns to a new line immediately. Is
> there any tips to be able to rewrite on the same line on screen,
> please?
> I appreciate your help in advance!
>
> Thanks
> L.H.
See STATUSLINE from the markwardt library.
-k.
|
|
|
Re: Writing in IDL at the same line in the screen [message #71903 is a reply to message #71897] |
Mon, 26 July 2010 08:56  |
greg.addr
Messages: 160 Registered: May 2007
|
Senior Member |
|
|
On 26 Jul., 17:42, Lila <lhad...@gmail.com> wrote:
> Hello everybody!
>
> I want to create like a progress bar with IDL console, where the line
> is completed progressively while the process is executing.
> Unfortunately, print command, returns to a new line immediately. Is
> there any tips to be able to rewrite on the same line on screen,
> please?
> I appreciate your help in advance!
>
> Thanks
> L.H.
Try this:
IDL> for i=0,9 do print,i,format='(i0,$)'
0123456789
Greg
|
|
|