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

RE: st: Re: Problem with foreach


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Re: Problem with foreach
Date   Thu, 29 Jul 2004 22:30:30 +0100

Absolutely not. 

In essence, Stata tries
to do within the loop precisely what you 
tell it to do. The only automated steps 
concern the macro controlling the loop, 
which only exists within the loop. 

Nick 
n.j.cox@durham.ac.uk 

adiallo5@worldbank.org

> Besides, when stata exits the loop, doesn't it automatically
> drop the id variable and leaves the dataset unchanged?

*
*   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–2025 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index