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 <>
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

Thanks in advance!


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:

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