Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to display how much of the process was completed


From   Paul Millar <paul.millar@shaw.ca>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How to display how much of the process was completed
Date   Tue, 01 Apr 2008 22:33:26 -0400

use
display "10%... " _continue

At 10:24 PM 01/04/2008, you wrote:
Dear all,

I wrote a program that uses a time-consuming looping. Thence, I would like
to show on the screen how much of the process was completed while the user
waits for the results.

It is very easy to accomplish that task using internal loops, but this
will look like:

10% done ...
20% done ...
30% done ...

All in different lines. Is there a way to do the same mentioned above in
one line only? that is:


10%...20%...30%...

Thank you for any help.

Cheers!

Tiago Pereira
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index