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

st: Macro operation


From   "Li, Wenjun" <WLi1@Lifespan.org>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: Macro operation
Date   Mon, 5 Aug 2002 16:38:20 -0400

A quick question about macro operation: 

I have a long list of names that are stored in a macro, such as
	local namelist `aa bb cc def ghi .....................'
I would like to change them to 
	local namelist2 'aa_g bb_g cc_g def_g ghi_g ................' etc. 

How could I do that?

Thanks, 


Wenjun Li




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