[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: RE: mulitple comments using // and #d;
Perhaps it's not deep at all.
If // means ignore the rest of the physical
line, then Stata just doesn't see any ; delimiter
you add to the end of the line as such.
It's just another character.
Otherwise put, suppose you write
// punctuation may include : ; , ! ? ;
Is Stata expected to act on both semi-colons or
just the end one? A rule that some characters
are _forbidden_ within comments would be most
unStataish. Comments should be your own space.
If that's the diagnosis, then // is incompatible
with #delimit ;
-- and that's not a bug or a misfeature or even a
limitation. It's just a fact of life.
Someone may have a better story.
> You're right.
> I can't explain it. It's deep
> or it's a bug. I'll bet it's deep because
> my own rules say that you shouldn't shout "bug"
> unless certain.
> Dimitriy V. Masterov
> > Nick Cox <firstname.lastname@example.org> wrote:
> > > The comment is a (logical) line too. It needs a delimiter.
> > For me
> > // comment1
> > is fine, while
> > // comment1;
> > // comment2;
> > pwd;
> > produces the same error.
* For searches and help try: