Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: expanding a local that contains a list or wildcards


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: expanding a local that contains a list or wildcards
Date   Tue, 5 Aug 2003 19:10:42 +0100

There is another way. Often you can avoid the problem 
altogether by 

foreach v of var `rhsvars' { 
	...
} 

except that the name `rhsvars' suggests to me that 
this may not be best for what you want. 

Nick 
n.j.cox@durham.ac.uk 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index