[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: programming: exiting nested loops
Kit Baum, Boston College Economics
An Introduction to Modern Econometrics Using Stata:
On Mar 30, 2007, at 2:33 AM, statalist-digest wrote:
I'm writing a simulation program where if something happens, I want to
jump out of a set of nested loops and go to the next replication. Is
there a short cut for putting -continue, break- in every nested loop?
When I learned Fortran with numbered program lines (cards,
was 36 years ago!), I could just write "GO TO 100" which meant go
100. Is there anything similar in Stata?
* For searches and help try: