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

Home » Public Forums » archive » Re: Overwriting printings
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: Overwriting printings [message #20461 is a reply to message #20449] Thu, 22 June 2000 00:00 Go to previous message
dominik is currently offline  dominik
Messages: 47
Registered: June 2000
Member
In article <395214A5.BA0D21B1@mathstat.dal.ca>,
simon@mathstat.dal.ca wrote:

> Is there a way to get IDL to overwrite the previous print output,
> ratherthan starting a new line? I'm running IDL in Linux..

the `$' format character disables the automatic newline,
the character control-k kill the current output line.
Use something like this:

for i=1,1000 do begin
print,format='(A,A,$)',string(13b),string(i)
endfor
print,'' ; terminate the current line


-Carsten


Sent via Deja.com http://www.deja.com/
Before you buy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: MINIMUM DISTANCE BETWEEN TWO CURVES
Next Topic: Elliptic integral codes?

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

Current Time: Sun Oct 12 04:46:22 PDT 2025

Total time taken to generate the page: 1.12641 seconds