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   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: How to display how much of the process was completed
Date   Tue, 1 Apr 2008 22:36:13 -0400

Try
di "`x'% ... " _c

On Tue, Apr 1, 2008 at 10:24 PM,  <[email protected]> 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index