Dear Stata users,
I have been trying to find a way to retrieve the name of the most recently
executed command in Stata. While this is generally not a problem with
estimation commands which usually store their names in ereturn, a command
such as -- xi: testparm i.v_name -- does not leave a tag with its name
behind. There is a way to see the last n executed commands by running --
#review n --, but I am wondering whether there a way to automatically
retrieve this list (or an element of it) and store it in a local, for
example.
Thank you very much!
Best regards,
Simo Goshev
*
* 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/