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

st: RE: RE: Difference btw "clear" & "drop _all"


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Difference btw "clear" & "drop _all"
Date   Sun, 21 Mar 2004 16:19:41 -0000

This is a good technique to look at the 
code of an .ado. Another is 

. findfile clear.ado
. type `r(fn)' 

or 

. doedit `r(fn)' 

and the same idea can be applied for
any command defined by an .ado. In total
that's usually less typing. 

Nick 
[email protected] 

Haas, Roy W
 
> Clear is implemented as an "ado" file. Type
> 'which clear'
> to find its path, e.g., "C:\Stata8\ado\base\c\clear.ado"
> then type 
> 'type path_name'
> and you will see it drops everything, not just variables.

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