Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Maarten Buis <maartenlbuis@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
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: http://www.stata.com/statalist/archive/2011-01/msg00393.html -- Maarten --------------------------------- Maarten L. Buis WZB Reichpietschufer 50 10785 Berlin Germany http://www.maartenbuis.nl --------------------------------- * * 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/