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

st: RE: renaming contents of local macros


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: renaming contents of local macros
Date   Fri, 10 Sep 2004 10:45:20 +0100

. local fitted "`endog'" 

Nick 
[email protected] 

Patricia Sourdin
 
> 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

*
*   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