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/