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: create local macro or string with line break


From   "Puddicombe, David" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: create local macro or string with line break
Date   Tue, 27 Aug 2013 08:51:10 -0700

Hi,

How can I create a local macro over multiple lines?

My code below does not work and neither does trying to change the delimiter  (#delimit ; etc).

local date_p "2010-12-01 2011-03-03 2011-12-01 2012-02-02 2012-07-06 ///
                2010-08-01 2012-09-04 2012-11-02 2012-12-06 2013-01-03 ///
                2013-02-01 2013-03-12 2013-04-04 2013-05-01 2013-06-13 ///
                2013-07-02 2013-08-09"

Thanks for your help.

David Puddicombe
BC Centre for Disease Control


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


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