[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Crash Command
At 06:43 PM 4/23/2004 -0400, you wrote:
Could it be that Crash is (or was) hiding inside profile.do or some other
do or ado file? I added these lines to my profile.do:
Does anyone know what this command does. I'm looking over a program and
this command comes up crash; i have looked everywhere and cannot find this
command. Thank you.
program define hello
display "Hello, Rich"
program define mylist
and both the -hello- and -mylist- commands then work from within
Stata. However, neither shows up when I use the -which- command. So,
maybe you should look at profile.do and/or do a search of all your do and
ado files to see if -crash- is defined within them.
Incidentally, -hello- and -mylist- continue to work even after I type
-clear- or -discard-. I thought they would go away. So, it seems like any
little shorthand commands you want could be defined in profile.do.
I've seen a lot of ado files that define programs within their programs --
do these routines continue to hang around after the ado file has finished,
or what? Could they be called separately, e.g. if -myado.do- defined a 2nd
program, -myotherado-, could I then make a direct reference to -myotherado-
from within Stata?
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
* For searches and help try: