= Stata Capture = The '''`capture`''' command runs commands while suppressing the output and capturing the return code. <> ---- == Usage == {{{ capture assert errors==0 if (_rc!=0) { display "There are errors!" } }}} to prevent output from being suppressed, try `capture noisily ...`. ---- == See also == [[https://www.stata.com/manuals/pcapture.pdf|Stata manual for capture]] ---- CategoryRicottone