Statalist


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

Re: st: Meaning of ! following * at the top of an ado file


From   Gary Longton <glongton@fhcrc.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Meaning of ! following * at the top of an ado file
Date   Fri, 20 Feb 2009 15:13:57 -0800

Ado-file lines that start with *! are echoed by the -which- command, primarily to allow for easy version identification.

Typically, programmers will include in their ado-files such a line with, at minimum, the (external) version number for the ado and the program version/revision date. However, any line included in the ado that starts with *! in the first two columns will be displayed by -which-.

Eg. if -hprescott- has been installed:

  . which hprescott
  f:\ado\stbplus\h\hprescott.ado
  *! hprescott 1.0.7 CFBaum  01aug2006

- Gary

Thomas Jacobs wrote:
Hi, can someone tell me the purpose of appending ! to the comment
indicator at the start of an ado file such as :

. ssc type hprescott.ado

*! hprescott 1.0.7 CFBaum  01aug2006
*  from hprescott(8).ado 1.0.4  18jun2006

remaining output cut off

Thanks.

Tom


*
*   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