![]() |
From | "Martin Weiss" <martin.weiss1@gmx.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: Re: alternative to do with nostop option |
Date | Mon, 22 Sep 2008 22:10:07 +0200 |
Hello, guys. I don't have this problem right now but have always wanted to ask this. Is there a way to tell Stata to continue running a do file even if *SOME* of the commands would give an "error"?
I know that in general I could use -do myfile, nostop- and then Stata won't stop at all if it finds an error. But I don't like this because I'd actually like it to stop if there's an actual error... but if I say something like -drop x- and x doesn't exist, I don't really think of it as an error, so I'd like it to keep going ONLY IN THIS CASE.
Is there something that would make this happen? Or am I asking for too much here?
Thanks a lot.
Adrian
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
*
* 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |