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]
st: log file recording within loops
From
Jan Stuhler <[email protected]>
To
[email protected]
Subject
st: log file recording within loops
Date
Sat, 20 Mar 2010 20:44:13 +0000
Dear all,
a question on log-files. Stata does not log any commands that are
inside loops (it only logs the results/output). Since loops are
usually all over in my do-files I end up having a long list of
uninformative notices in my log-files.
I know that most people add comments (e.g. "di ....") in their do-
files in order to keep track at which part of the loop their log-file
is recording. I do not like this solution since it means a lot of
additional typing and a potential source of typos. Is there any other
solution, e.g. some sort of "noisily" command that forces Stata to log
commands within loops?
Many thanks for any answers,
Jan
*
* 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/