![]() |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: foreach loop over a column
From
Kushan Thakkar <[email protected]>
To
[email protected]
Subject
st: foreach loop over a column
Date
Tue, 13 Oct 2009 18:52:39 -0400
I have a column name permno in my dataset. It is a numerical column,
and I want to loop over it. This is what I did:
foreach num in permno {
// do something
}
but this is not working.. what am i doing wrong?
Thanks
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |