|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: shorthand
From
"Dominic Muston" <[email protected]>
To
[email protected]
Subject
Re: st: shorthand
Date
Mon, 5 Jun 2006 14:12:38 +0100
Timothy,
I'm not sure this is shorter!
gen logical==1
forvalues i=100(1)200 {
replace logical = 0 if a`i'!=.
}
list if logical==1
Dominic Muston.
*
* 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 |