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, is already up and running.

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

st: Terminating a loop with a value trigger

From   Stephen Cranney <>
Subject   st: Terminating a loop with a value trigger
Date   Sat, 30 Mar 2013 09:33:10 -0400

Hi all,

Is there a way to continue a loop until a certain value is reached in
one of the calculations ? (Obviously not just until the macro hits a
certain point, but a calculation inside the loop that involves the
macro). As far as I can tell, "exit "and "continue, break" don't allow
some kind of "if" option.

Thanks in advance,

*   For searches and help try:

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