[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: foreach loop over a column

From   Kushan Thakkar <>
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?

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index