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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: Re: How can commands be suppressed in the results window |

Date |
Wed, 18 Nov 2009 15:13:50 +0100 |

<> Elan is probably talking about the modern incarnations of -for-, -foreach- and -forvalues-. They do indeed suppress the commands: ************* forv i=1/10{ disp 2*3 } ************* HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Cohen, Elan Sent: Mittwoch, 18. November 2009 15:10 To: 'statalist@hsphsun2.harvard.edu' Subject: st: RE: Re: How can commands be suppressed in the results window I know that if you put your commands in a for loop, it will suppress the printing of the commands, but not the output. I'm not sure if a for loop is possible in your case. - Elan > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of > Babak Oskooei > Sent: Wednesday, November 18, 2009 8:58 AM > To: Stata List > Subject: st: Re: How can commands be suppressed in the results window > > Dear Stata Users, > > Thanks for those who replied to my previous question, > specially Nick Cox. I have a further question regarding the > results window. I have to carry out repetitive commands, lots > of them, which I wrote in a do file. I would like to prevent > them from appearing in the results window and only have the > outputs which are only tables. > > I know the command "quietly", but when I include it, it > suppresses all the output. > > I would appreciate any comments on this. > > Kind regards > > Babak Oskooei > MRC Clinical Trials Unit > London > > > > * > * 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/ * * 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/

**References**:**st: Re: How can commands be suppressed in the results window***From:*Babak Oskooei <babak_cho@yahoo.com>

**st: RE: Re: How can commands be suppressed in the results window***From:*"Cohen, Elan" <cohened@upmc.edu>

- Prev by Date:
**Re: st: RE: Re: How can commands be suppressed in the results window** - Next by Date:
**st: RE: RE: Re: How can commands be suppressed in the results window** - Previous by thread:
**st: RE: Re: How can commands be suppressed in the results window** - Next by thread:
**st: RE: RE: Re: How can commands be suppressed in the results window** - Index(es):

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