Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: AW: Hiding command execution in do file


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Hiding command execution in do file
Date   Fri, 21 May 2010 16:04:50 +0200

<> 



*************
qui{
	noi di _n(2) in r "Hello"
}
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Dragutin
Culinovic
Gesendet: Freitag, 21. Mai 2010 16:01
An: STATA List
Betreff: st: Hiding command execution in do file

How to hide some commands in .do file, when they are executed, from 
displaying on stata result window.

eg. in:
display as text "*** IV METHOD ***"

I wouldn't like to display something like:

.display as text "*** IV METHOD ***"
*** IV METHOD ***

in STATA result window,

but only.

*** IV METHOD ***

THX
*
*   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   |   Site index