Try
-unab var: _all-
Peter
Peter J. Burke
Professor of Sociology & Co-Director,
Social Psychology Research Laboratory (SPYRL)
University of California
Riverside, CA 92521-0419
Phone: 951/827-7004
951/827-7119 (Spyrl Office)
Fax: 951/827-3330
[email protected]�
http://wat2146.ucr.edu/
http://sociology.ucr.edu/
http://sociology.ucr.edu/spyrl/index.html
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Wallace, John
Sent: Friday, November 02, 2007 4:10 PM
To: [email protected]
Subject: st: variables into a macro
Dear Statalisters
I'd like to write a routine for a do-file that loads all the variable
names in the current dataset into a macro for further manipulation
(selection of subsets based on patterns in their names). Maybe its just
late in the week, but I can't think of a way to do so. Is this a silly
thing to do?
------------------------------------------------------------
This transmission is intended for the sole use of the individual
and entity to whom it is addressed, and may contain information
that is privileged, confidential and exempt from disclosure under
applicable law. You are hereby notified that any use,
dissemination, distribution or duplication of this transmission by
someone other than the intended addressee or its designated agent
is strictly prohibited. If you have received this transmission in
error, please notify the sender immediately by reply to this
transmission and delete it from your computer. Thank You.
Affymetrix, Inc.
*
* 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/
*
* 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/