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

Home » Public Forums » archive » Re: Printing to command line without a 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: Printing to command line without a new line [message #78217] Thu, 03 November 2011 01:56 Go to previous message
Nikola is currently offline  Nikola
Messages: 53
Registered: November 2009
Member
Here is another nice example of how to show progress.

PRO PROGRESS, MSG, CUR, MAX
WRITEU, -1, STRING(FORMAT='(%"\R",A,": ",I3,"%")', $
MSG, ROUND(FLOAT(CUR)/MAX*100))
IF CUR EQ MAX THEN PRINT, ''
END

Cheers, NV
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Math errors tracked! To a built-in library...
Next Topic: Alert IDL

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

Current Time: Wed Oct 08 15:50:09 PDT 2025

Total time taken to generate the page: 0.15020 seconds