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]
Re: st: create local macro or string with line break
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: create local macro or string with line break
Date
Tue, 27 Aug 2013 17:23:33 +0100
What you are trying exactly? /// won't work interactively, for
example, but you can define this
1. without using the " "
2. in a do-file.
Nick
[email protected]
On 27 August 2013 16:51, Puddicombe, David <[email protected]> wrote:
> 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/
*
* 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/