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

Home » Public Forums » archive » Overwriting the terminal output 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
Overwriting the terminal output line [message #29323] Thu, 14 February 2002 10:05 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
Does anyone know how to overwrite the terminal output line?


The following does not do what I want:

IDL> FOR i = 0, 10 DO PRINT, i, FORMAT = "($, 'i = ' ,I4, T1)"
i = 0i = 1i = 2i = 3i = 4i = 5i = 6i = 7i = 8i = 9i = 10IDL>

The $ supresses the newline, but T1 does not reposition the
pointer to the beginning of the line.



I would like to see:

IDL> FOR i = 0, 10 DO PRINT, i, FORMAT = "('i = ' ,I4, ?????)"
i = 10

Where "i = 10" has overwritten "i = 9", etc.



Thanks, Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Overwriting the terminal output line
Next Topic: about file operation in DLM

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

Current Time: Wed Oct 08 18:03:45 PDT 2025

Total time taken to generate the page: 0.00448 seconds