Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to show "dots" in a loop?


From   daniel klein <[email protected]>
To   [email protected]
Subject   Re: st: how to show "dots" in a loop?
Date   Thu, 19 Apr 2012 00:37:13 +0200

forv j = 1/100  {
    log off <logname>
    if !mod(`j', 5) di _c "`j'"
    else di _c "."
    log on <logname>
}

Best
Daniel

-- 
Hi all,
[...]
I would now like to report something every iteration, but I would
avoid seeing thousands of lines filled with this, esp. in my log. Long
story short: can I somehow print dots as wrapper commands like
bootstrap do?
[...]

Thanks,

Laszlo
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index