Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: foreach and mata end


From   Matissa Hollister <[email protected]>
To   [email protected]
Subject   Re: st: RE: foreach and mata end
Date   Tue, 7 Feb 2006 09:43:46 -0800 (PST)

Thanks!  That certainly helps, especially in this
case.  It still seems like the other way should work
too.  If I wanted to do multiple mata commands within
the loop it would be a bit of pain to have to write
"mata:" before each one.

Matissa

--- David Harrison <[email protected]> wrote:

> Try replacing
> 
> mata
> mdiag(`mname')
> end
> 
> With
> 
> mata: mdiag(`mname')
> 
> David
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index