Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Displaying text without displaying the display text


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Displaying text without displaying the display text
Date   Fri, 4 Apr 2003 17:10:56 +0100

Sayer, Bryan
>
> Is there an option to get -display- (or even something
> else) to display a
> string of text WITHOUT also displaying the display statement?
>
> That is, I want something like a title.  I want
>
> This is a string of text
>
> to show up in my log, without having
>
> . display "This is a string of text"
> This is a string of text
>

Use comments, prefixed by *.

. log using bryan.log
----------------------------------------------------------------------
------------------------
       log:  C:\whatever\wherever\bryan.log
  log type:  text
 opened on:   4 Apr 2003, 17:08:16

. * Bryan Sayer loves svy
. log close
       log:  C:\whatever\wherever\bryan.log
  log type:  text
 closed on:   4 Apr 2003, 17:08:32
----------------------------------------------------------------------
------------------------

. type bryan.log
----------------------------------------------------------------------
------------------------
       log:  C:\whatever\wherever\bryan.log
  log type:  text
 opened on:   4 Apr 2003, 17:08:16

. * Bryan Sayer loves svy
. log close
       log:  C:\whatever\wherever\bryan.log
  log type:  text
 closed on:   4 Apr 2003, 17:08:32
----------------------------------------

Nick
n.j.cox@durham.ac.uk

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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