Statalist


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

RE: st: exiting Stata from within Stata


From   "Feiveson, Alan H. (JSC-SK311)" <alan.h.feiveson@nasa.gov>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: exiting Stata from within Stata
Date   Tue, 29 Dec 2009 09:12:45 -0600

Thanks, Phil - This is exactly what I needed.

Al



-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Phil Schumm
Sent: Monday, December 28, 2009 3:49 PM
To: statalist@hsphsun2.harvard.edu
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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index