Stata Capture
The capture command runs commands while suppressing the output and capturing the return code.
Contents
Usage
capture assert errors==0
if (_rc!=0) {
display "There are errors!"
}to prevent output from being suppressed, try capture noisily ....
