Dear statalist,
I am working on a huge project using loops over loops over loops.
Now it happens that I would like to exclude some elements of the loops,
i.e.:
foreach x in ? {
if ?`x?? == ? {
jump do the end of the loop, i.e. ignore all
commands till then.
}
some fancy commands
}
Thanks for all suggestions in advance
Hans
++++++++++++++++++++++++++++++++
Hans J. Baumgartner
Dept. Public Economics
DIW Berlin
German Institut for Economic Research
phone: +49/30/89789-307
fax : +49/30/89789-114
URL: www.diw.de
www.hansbaumgartner.de
++++++++++++++++++++++++++++++++
*
* 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/