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

Home » Public Forums » archive » Freezing your printout...
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
Freezing your printout... [message #57506] Mon, 10 December 2007 14:17 Go to next message
jeremydavidmurphy@gma is currently offline  jeremydavidmurphy@gma
Messages: 1
Registered: December 2007
Junior Member
Hello All,

Does anyone know of a function that allows one to print to screen
values, YET DO SO ON THE SAME LINE?
I often want to print a changing value within a routine or proceedure,
yet this can become 1000's of numbers. What I want is to have one
value written over the old value so that I can get back to text in my
terminal window.

Any suggestions?

Much appreciated,
Jeremy Murphy
Re: Freezing your printout... [message #57696 is a reply to message #57506] Tue, 18 December 2007 08:54 Go to previous message
Sven Geier is currently offline  Sven Geier
Messages: 17
Registered: July 2002
Junior Member
"jeremydavidmurphy@gmail.com" <jeremymurphy@gmail.com> wrote in message
news:4ed85827-69fb-484d-ac2d-782f265c9bba@r1g2000hsg.googleg roups.com...
> Hello All,
>
> Does anyone know of a function that allows one to print to screen
> values, YET DO SO ON THE SAME LINE?
> I often want to print a changing value within a routine or proceedure,
> yet this can become 1000's of numbers. What I want is to have one
> value written over the old value so that I can get back to text in my
> terminal window.
>
> Any suggestions?
>
> Much appreciated,
> Jeremy Murphy


In the IDE I have no clue, but in the UNIX command line I might do somehting
like this:

print,"this"+string(13b),format='($,(A))'
print," is "+string(13b),format='($,(A))'
print," all"+string(13b),format='($,(A))'
print," on "+string(13b),format='($,(A))'
print,"one "+string(13b),format='($,(A))'
print,"line"

Well, I wouldn't really do it like this, of course. But I use that kind of
thing often for a "percentage done" type of thing.

S
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 7 and Subversion
Next Topic: Re: hole in SRTM data! how we can fill it out?

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

Current Time: Wed Oct 08 15:26:42 PDT 2025

Total time taken to generate the page: 0.00472 seconds