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 <>
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?
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index