From | Gary Longton <[email protected]> |
To | [email protected] |
Subject | Re: st: proceeding beyond roctab 2000 error msg - correction |
Date | Tue, 01 Jun 2004 15:08:14 -0700 |
David Kantor wrote: >>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 ... and Michael Blasnik replied:
I may be misunderstanding your first sentence, but _rc is set by every command in Stata, whether you use -capture- or not. It's just that -capture- (quite appropriately named) captures the error code so that Stata does not stop processing the current do/ado file.
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |