|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Declaring list of variables in a dataset and storing to a local/global
From
"Charles Thibault" <[email protected]>
To
<[email protected]>
Subject
st: Declaring list of variables in a dataset and storing to a local/global
Date
Thu, 11 Jan 2007 13:26:18 -0500
Hello,
Does anyone know how to get the names of the variables in a current dataset
and store them in a macro?
I am looping over files and the files don't all have the same variables, so
allowing me to store these variable names in a macro would help make my code
dynamic.
Thanks,
Charles Thibault
*
* 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–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |