foreach var of varlist * {
disp in yellow "`var'"
}
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of TEWODAJ MOGUES
> Sent: Sunday, August 21, 2005 2:54 PM
> To: Stata _
> Subject: Re: st: Get the list of variables in their full length
>
> Nick and Scott.
>
> Thanks for your ideas. This helps. But is there a way to get the
> unabbreviated varlist in column form, without any additional info (e.g.
> var labels, etc.)? -ds, varwidth(32)- lists the vars one next to the
> other as opposed to in a column. Similarly, -unab- stores the varlists
> in a local macro such that the varlist are one next to the other (like
> a long string). -describe, full- and -describe, simple- cannot be
> combined to -describe, full simple-, which would be necessary to
> generate an unabbreviated list of vars without any other extraneous
> information. I can probably work with ds as mentioned above, but it
> would save time if it could produce a (downward running) list of the
> varnames.
>
> Tewodaj
*
* 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/