Thanks, Phil - This is exactly what I needed.
Al
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Phil Schumm
Sent: Monday, December 28, 2009 3:49 PM
To: [email protected]
Subject: Re: st: exiting Stata from within Stata
On Dec 28, 2009, at 3:44 PM, Feiveson, Alan H. (JSC-SK311) wrote:
> Hi - I want to be able to exit Stata from within a Stata program
> or .do file. Is this possible? For example, if I put "exit, clear"
> in as a statement in a .do or .ado file, the statement is ignored.
Use
exit, STATA
-- Phil
*
* 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/
*
* 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/