Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: quietly from a point in code.


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: quietly from a point in code.
Date   Tue, 14 Oct 2008 10:28:30 +0200

Just put a curly bracket around the chuck of code that you want -quietly-


**********
sysuse auto, clear
qui{
	reg p w f
	su pr
}
di in red r(mean)
**********

HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Ashim Kapoor
Sent: Tuesday, October 14, 2008 10:04 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: quietly from a point in code.

Hello,

I was reading about the command quietly. Is there a way I can say

quietly
..
..
..
noisily

so that ALL the code inbetween qui and noi is run quietly without
having to say qui in front of EACH line of code,

I needed this in some of my log outputs. Maybe other people have dealt
with this ?

Thank you,
Ashim
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index