Bookmark and Share

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


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

st: multiple mata functions with same name


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: multiple mata functions with same name
Date   Mon, 29 Jul 2013 15:19:57 -0400

I have multiple mata libraries each defining a function with the same
signature (name/parameters), say:

void about() {
    "This is library something"
}

 I would like to be able call about() from each of these libraries at
will. How do I do that?

In some other languages we do this with:

lib1namespace.about()
lib2namespace.about()

Thank you, Sergiy
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index