Re: Simple(?) comments question...

Arnoud Galactus Engelfriet wrote:
> Just had a discussion with someone who wanted to know if a "-" can be
> used as the last character in a comment. I would say yes, since a
> comment is terminated by TWO "-" characters. However, is the following
> comment valid?
> 
> <!-- Hello--->

No, the first two "-"s form the end-comment delimiter; the trailing "->"
is text outside the comment, which is probably not what was wanted...

Chris

Received on Wednesday, 18 September 1996 05:26:32 UTC