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

Home » Public Forums » archive » Re: Writing in IDL at the same line in the screen
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Writing in IDL at the same line in the screen [message #71875] Tue, 27 July 2010 00:09
lila hadji is currently offline  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 Go to previous message
mankoff is currently offline  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 Go to previous message
greg.addr is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Object filenames
Next Topic: IDL 8 Graphics

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

Current Time: Wed Oct 08 11:39:37 PDT 2025

Total time taken to generate the page: 0.00452 seconds