Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: RE: Critique on comment syntax and suggestions
From
Daniel Feenberg <[email protected]>
To
[email protected]
Subject
Re: st: RE: Critique on comment syntax and suggestions
Date
Fri, 28 Jan 2011 14:34:03 -0500 (EST)
On Fri, 28 Jan 2011, Steven Samuels wrote:
--
--
I've been bitten in the past by omitting semicolons. I now use continuation
characters, and reserve the semicolon to delimit single commands, especially
for graphs, that have many, often long, options. I find such commands easier
to read and modify if each option is on a single line. If I use continuation
characters in such commands, the lines look messy unless I line the
characters up. For me that's too much work. As Nick said, it's personal
taste.
Bryce, you are asking Stata's do-file editor to find syntax errors, and I
Not really - the line:
drop if criticalvar=1;
is stricktly speaking part of the comment, and he is asking that it be
colored as a comment, to match the view that Stata will take. Currently
the editor is treating it as executable, which is clearly an incorrect
parsing of the code.
don't think that's its function. After reading the second post David
referred to (it's by Joseph Coveney), I don't really see a bug. Off topic,
"Stata" is spelled "Stata." See the FAQ Section 8.2.
Steve
*
* 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/