Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: command for exiting loop


From   David K Evans <[email protected]>
To   [email protected]
Subject   st: command for exiting loop
Date   Wed, 17 Nov 2004 21:14:19 -0500 (EST)

Does anyone know this command that one can use to exit a loop?

For example, one can - in the middle of a loop - have an "if" clause that,
if satisfied, executes this command which causes you to exit the loop and
otherwise leaves you in the loop. But I can't remember the name of the
command!

Thanks in advance!
Dave

------------------------------------------------------------------------

PhD student, Harvard Economics Department
Phone: (O) 617-495-5634, (H) 617 - 493 - 1536
Address: Currier Mail Center #554, Cambridge, MA 02138

------------------------------------------------------------------------
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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