Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How to separate multiple word assignments to a macro


From   Thomas Jacobs <[email protected]>
To   StataList <[email protected]>
Subject   st: How to separate multiple word assignments to a macro
Date   Fri, 9 Apr 2010 18:45:49 -0500

I am trying to create a macro of readable variable names for later
output in multiple tables.  Thus, the number of variable names will
change.  For example assume I have a case with three values such as

5 Yr Treas Rate, 10 Yr Treas Rate, 20 Yr Treas Rate

which I wish to assign to the macro TreasRatesDisplay

Is there any way to do this and end up with just 3 values in the macro
where each value may have embedded spaces?  Thanks.

Tom

--
Thomas Jacobs
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index