[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: private vs public mata (user written) functions
While trying to minimize unnecessary stuff put in my mata library I ran into
one question and would appreciate to have a clear answer for future work
(kind of answer usually Bill would provide, thanks again for your time Bill)
I have a "public" mata function that is used by a stata command (.ado file).
My mata function in turn uses two other "private" mata functions. Either I'm
making some other mistake or all three must be added to a library for
everything to work and then we have a situation that two "private"
functions, which are no use outside of main "public" one are also visible. I
know that following Stata's open-source spirit I might end up distributing
the un-compiled code anyways but wanted to know for sure if the
private/public function setup is possible.
* For searches and help try: