![]() |
From | Kushan Thakkar <kthakk4@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |