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



*   For searches and help try:

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