Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: mata within a program or a loop

From   Maarten Buis <>
Subject   Re: st: mata within a program or a loop
Date   Mon, 28 Oct 2013 13:27:52 +0100

On Mon, Oct 28, 2013 at 1:19 PM, Shuaizhang Feng wrote:
> I want to include certain mata commands within a program or in a loop.
> Because the mata commands starts with "mata:" and ends with "end", I
> am having some problems here. stata would stop when it hits the "end"
> command of mata. does someone know how to deal with this issue?

Here is an example:

-- Maarten

Maarten L. Buis
Reichpietschufer 50
10785 Berlin
*   For searches and help try:

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