Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: passing argument(s) to Mata constructors


From   Phil Schumm <pschumm@uchicago.edu>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: passing argument(s) to Mata constructors
Date   Tue, 26 Feb 2013 13:37:17 -0600

Hi,

I'd like to pass arguments to a constructor (i.e., new() method) in Mata, but can't seem to figure out how.  Does anyone know if this is possible, and if so, how to do it?  I looked through the official code distributed with Stata, the documentation, and the Statalist archives, but couldn't seem to find anything on this issue -- if I missed it, a pointer to the relevant code/literature/post(s) would be much appreciated.

Thanks,


-- Phil


*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index