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

RE: st: Refresh an Ado file when is programing


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Refresh an Ado file when is programing
Date   Fri, 17 Dec 2004 10:38:34 -0000

Thanks to Vince and to Nick Winter for the correction. 

Nick 
[email protected] 

Vince Wiggins, StataCorp
 
> In reply to a question from Jean Ries <[email protected]>, 
> Ricardo Ovaldia
> <[email protected]> writes
> 
> > I find that sometimes -discard- does not always work, so I like
> > using -program drop _all- instead.
> 
> and Nick Cox <[email protected]> commented further that
> 
> > -discard- as I understand it includes -program drop _all-.
> 
> That is very close, but the distinction is a bit more subtle. 
>  -discard- drops
> all "automatically loaded programs" and that means any 
> programs defined by any
> ado-file.  It does not drop programs defined interactively or 
> in do-files.
> -program drop _all- does not distinguish and drops them all.  
> It would be
> extremely rare, but neither will drop a program if that 
> program is currently
> running, for example if -discard- were a line in the program 
> itself or a
> subprogram called by the program.

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