The -ds, has(type #/#)- is referring to the storage type, which for your
data set varies from str10 to str80. Consequently, the -return list- for
-ds, has(type 2/8)- will be empty.
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Caleb Southworth
> Sent: Wednesday, September 06, 2006 7:55 PM
> To: [email protected]
> Subject: st: inconsistent behavior of -ds-
>
> I have been using -ds- to identify r(varlist) and then loop through those
> variables. However, I am puzzled by the behavior of -ds, has(type #/#)-
> syntax.
*
* 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/