Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: wishlist |
Date | Tue, 6 Aug 2013 23:29:57 +0100 |
Really? Any connotations should be considered purely fortuitous. The name is a contraction of -s-ave and -exit-. Nick Nick njcoxstata@gmail.com On 6 August 2013 23:20, Joe Canner <jcanner1@jhmi.edu> wrote: > If nothing else, such a program has the advantage of having a memorable name... :-) > > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox > Sent: Tuesday, August 06, 2013 6:02 PM > To: statalist@hsphsun2.harvard.edu > Subject: Re: st: wishlist > > Presumably this happens if you type > > exit, clear > > but realise that you didn't mean it. Faced with your mild curses, Stata (if it could engage in repartee) would then merely quip that it did what you asked. > > I guess you want a command rather than a do-file. Is this something like the command? > > program sexit > version 8.2 > save, replace > exit > end > > It's deliberate that this fails if there is no data in memory because then it fails to do what is intended, -save- data and -exit-. > > > Nick > njcoxstata@gmail.com > > > On 6 August 2013 22:39, Lachenbruch, Peter <Peter.Lachenbruch@oregonstate.edu> wrote: >> I have a small request (which never is?) When I exit Stata I have >> often forgotten to save my changes - I have the chance to lose my changes or go back (click no). I'd like a third option - save changes and exit. It should be an easy do file... >> >> >> Peter A. Lachenbruch, >> Professor (retired) >> * >> * 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/ > > * > * 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/