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: Deleting macros within a loop


From   "G. Anderson" <[email protected]>
To   [email protected]
Subject   st: Deleting macros within a loop
Date   06 Jul 2013 17:08:48 +0100

Hi,

I have written a programme in stata which has a while loop in it. Within the loop I create local macros.


Ideally of the loop before I move on to the next iteration I would like to clear the memory of all macros created. Usual commands don't seem to be working when I am in the loop. Is there a way I can delete macros whilst in a loop?

Thanks,

Gareth *
*   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