I've scoured the manual, mata help and online sources without
obtaining an answer - is it possible to programmarically obtain a list
of functions in Mata memory?
For example:
mata
mata clear
function add(a,b) return(a+b)
function mult(a,b) return(a*b)
mata d *()
# bytes type name and extent
-------------------------------------------------------------------------------
76 transmorphic matrix add()
76 transmorphic matrix mult()
-------------------------------------------------------------------------------
Is there a way to create the equivalent of:
functions = ("add()","mult()")
when you don't have knowledge of what the function names may be?
Thanks,
--
David Elliott
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/