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: Printing nested do-files
From
Sergiy Radyakin <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Printing nested do-files
Date
Thu, 20 Jun 2013 08:05:56 -0400
No, there is no such facility and for a good reason. In general a
large do file is not equivalent to a set of smaller do files because
each of them is in its own _namespace_. Printing them as one large do
file might mislead the user. Besides, the decision to call a
subsequent do file or not may be data-dependent. In that case it is
not possible to find the whole code that's running without actually
running it. -set trace on- is doing just that.
Sergiy
On Thu, Jun 20, 2013 at 2:49 AM, M. Langelaan <[email protected]> wrote:
> Hello,
>
> I have one calling do-file that starts several other do-files. Does anyone
> know if it is possible to print the complete to file, without the results
> (so not a normal log-file, do-file text only).
>
> Thanks in advance!
>
> Maaike
>
>
>
> --
> View this message in context: http://statalist.1588530.n2.nabble.com/Printing-nested-do-files-tp7580383.html
> Sent from the Statalist mailing list archive at Nabble.com.
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/