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

Home » Public Forums » archive » Update stdout instead of writing new line
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: Update stdout instead of writing new line [message #85028 is a reply to message #85027] Mon, 24 June 2013 13:29 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Monday, June 24, 2013 10:17:49 PM UTC+2, Stefan wrote:
> Hey
>
>
>
> I had hoped that someone here might be able to answer this quick question:
>
>
>
> I like to monitor my progress by writing stuff into the terminal, but it would be much more convenient to update the output instead of writing a new line.
>
>
>
> e.g.:
>
> FOR i=1,100 DO PRINT, i
>
>
>
> writes 100 lines in the terminal. Would it be possible to overwrite the previous output so that in the end only one line is used?
>
>
>
> Thanks for any hints :)

FOR i=1,100 DO PRINT, string(13b), i, format='(A,I,$)'

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CONTOUR and automatic gridding of irregularly spaced data
Next Topic: USGS DEM file geolocation questions

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

Current Time: Wed Oct 08 19:34:12 PDT 2025

Total time taken to generate the page: 0.00414 seconds