Statalist


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

Re: st: Stata comments


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Stata comments
Date   Thu, 1 May 2008 20:11:07 +0100 (BST)

--- Sergiy Radyakin <serjradyakin@gmail.com> wrote:
> 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?

that is determined by the -#delimit- command, see: -help #delimit-, but
by default a line ends with a carriage return.

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
*
*   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