Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Dropping programs


From   Richard Williams <[email protected]>
To   [email protected]
Subject   st: Dropping programs
Date   Sat, 26 Mar 2005 20:06:35 -0500

I'm trying to debug an ado file. Every time I make a change and save the file, I have to drop the program or use the -discard- command or else the old version in memory still gets used by Stata. But, I thought if I started the program with

-capture program drop myprog-, e.g.

capture program drop myprog
program define myprog
display "Hi!"
end

Then Stata would load the current version from disk rather than use the version in memory. But that is not happening., i.e. every time I make a change I have to discard or drop the old version. Am I missing something obvious? Thanks for any help.

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




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