Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Stata comments


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Stata comments
Date   Thu, 1 May 2008 19:58:51 +0100

I am straining hard to think what subtleties might be hidden in the
question. 

But here is my understanding: 

A line is whatever is ended by an end-of-line, meaning by default
whatever combination of carriage return and line feed is native to the
operating system, and by extension ; whenever #delimit ; is in
operation. 

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

Sergiy Radyakin

I have a question regarding the use of comments in Stata programs.

The two possibilities to comment out a line of code are to put a "*"
or "//" in the beginning of a line.

The manual (e.g. online here: http://www.stata.com/help.cgi?comments)
says:

" * indicates that the line is to be ignored."
  and
"// indicates that the rest of the line is to be ignored."

Both definitions are using the concept of a "line". I would like to
double-check, what is really meant by "line" in this context?


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