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

RE: Re: st: proceeding beyond roctab 2000 error msg - correction


From   David Kantor <[email protected]>
To   [email protected]
Subject   RE: Re: st: proceeding beyond roctab 2000 error msg - correction
Date   Tue, 01 Jun 2004 15:32:02 -0400

I might add that it is important to know that _rc is set only for a command that occurs under
-capture-.

If you want to see the output of the command AND subsequently test _rc, then do...
capture noisily ...

-- David

At 06:04 PM 6/1/2004 +0100, Nick Cox wrote, in response to Tonya Cropper:

Yes. I don't think you need [P] to understand _rc.

. whelp _rc

gets you started. _rc is usually zero, whenever
a command works -- to Stata's satisfaction. If
you see a message like

unrecognized command:  rgeress
r(199);

r(199) is _rc of 199 in another guise.

Nick
[email protected]

Tonya Cropper

> What is _rc ? Return code?  Does every command have a _rc? I
> really need to buy the [P] manual.
David Kantor
Institute for Policy Studies
Johns Hopkins University
[email protected]
410-516-5404

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