Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: calling another .do file?


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: calling another .do file?
Date   Mon, 19 Jul 2010 15:28:28 +0000 (GMT)

--- On Mon, 19/7/10, Costello, Michael wrote:
> Is it possible to have a command inside a .do file that
> allows you to call and execute a different .do file, then go
> back to the original and finish processing?

Yes, there are two ways: -do- will execute the commands in the
.do file and displays the output, while -run- executes the 
commands but suppresses the output. See -help do-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index