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)" <[email protected]>
To   "[email protected]" <[email protected]>
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: [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/



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