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

st: renaming contents of local macros


From   Patricia Sourdin <[email protected]>
To   [email protected]
Subject   st: renaming contents of local macros
Date   Fri, 10 Sep 2004 13:25:20 +0930

Hi statalist

I have a question on renaming a tempvar in anyone could help please.
I would like to replace the contents of the macro tempvar 'fitted' with the 
contents of another macro 'endog'
eg replace the just the names in 'fitted' with the names in 'endog'


di "`fitted'"
 __000003 __000005 __000007

di "`endog'"
HHinc_no_invest invest_inc hyperindex

how would I do this?
thanks
Patricia
*
*   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