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

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


From   "Haas, Roy W" <HaasR@uthscsa.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Difference btw "clear" & "drop _all"
Date   Fri, 19 Mar 2004 15:21:14 -0600

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.

Roy W. Haas, Ph.D.
Department of Medicine
UT Health Science Center at San Antonio
7703 Floyd Curl Drive
San Antonio, TX 78229-3900
(210) 567-9272


-----Original Message-----
From: Nomorenook@netscape.net [mailto:Nomorenook@netscape.net]
Sent: Friday, March 19, 2004 3:14 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: Difference btw "clear" & "drop _all"


Hi all,

I am a newbie to STATA and I have a question regarding "clear" and "drop
_all". 

According to STATA, these two are supposed to be the same. However, if I use
"clear", even my matrices are deleted from the memory, as opposed to "drop
_all", which just deletes the variables but maintains matrices in the
memory. Can anyone tell me more about the differences between these two
commands?

Thank you very much!


__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
*
*   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/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index