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 on April 23, and its replacement, statalist.org is already up and running.


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

st: Make ado file end processing of calling do file


From   Paul Burkander <paul@burkander.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Make ado file end processing of calling do file
Date   Mon, 23 May 2011 20:02:12 -0400

Hi,

I'm new to writing ado files, and I'm having some trouble.  I'd really
like my ado file to stop the processing of the calling do file if
certain conditions are met.  I guess "exit" just returns control to
the calling program.

Is there any way to make the calling program completely top based on a
condition encountered in the ado file?

Thanks!
Paul Burkander
*
*   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