Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Retrieve most recently executed command

From   "Simo Goshev" <>
To   <>
Subject   st: Retrieve most recently executed command
Date   Fri, 25 May 2007 10:03:37 -0400

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

Thank you very much!

Best regards,
Simo Goshev

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index