the first block of code is fine, but for the second block the
parser seems to treat the "%>" after comment2 as part of the
comment and thus everything before the next "<%" is
ignored. nothing critical really, just thought you might want a
challenge :P
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=313042
Please clarify the problem.
All I see is 'comment1' highlighted as an error - and this
is normal. single quotes should be used for single
characters only, not strings.
Logged In: YES
user_id=1024166
second line is meant to be a comment. it is correctly
coloured as gray when placed outside of the braces in the
first and third lines.
Logged In: YES
user_id=313042
Now I see. will fix it.
Logged In: YES
user_id=1024166
sorry to have to cause you more pain:
<% { /* comment1 */ %>
<h1>Title</h1>
<% out.print("works"); %>
<% } %>
<% { // comment2 %>
<h2>Title</h2>
<% out.print("works not"); %>
<% } %>
the first block of code is fine, but for the second block the
parser seems to treat the "%>" after comment2 as part of the
comment and thus everything before the next "<%" is
ignored. nothing critical really, just thought you might want a
challenge :P