Thank you Vince, for clarifying this.
Ricardo.
--- "Vince Wiggins, StataCorp" <[email protected]>
wrote:
> 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.
>
>
> -- Vince
> [email protected]
>
> *
> * 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/
>
=====
Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
*
* 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/