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: foreach over local or global macro
From
Scott Merryman <[email protected]>
To
[email protected]
Subject
Re: st: foreach over local or global macro
Date
Thu, 14 Jul 2011 15:25:55 -0500
foreach l in `=c(alpha)' {
disp "`l'"
}
Scott
On Thu, Jul 14, 2011 at 3:19 PM, Jennifer S. Earl <[email protected]> wrote:
> Hi folks,
>
> Another foreach question. I am trying to loop over a list of letters a-z and
> print out results for each letter, but my foreach call is not working:
*
* 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/