It should be noted that this applies not only to the try/catch block, but also to other blocks, for example:
<FONT COLOR="#0000ff">f </FONT><FONT COLOR="#800000">i</FONT><FONT COLOR="#000000">=1:1:2 </FONT><FONT COLOR="#800080">{
</FONT><FONT COLOR="#0000ff">q </FONT>1 <FONT COLOR="#008000">; runtime error, but the line is highlighted
</FONT><FONT COLOR="#800080">}
</FONT><FONT COLOR="#0000ff">do </FONT><FONT COLOR="#800080">{
</FONT><FONT COLOR="#0000ff">q </FONT>2 <FONT COLOR="#008000">; compilation error
</FONT><FONT COLOR="#800080">}</FONT><FONT COLOR="#0000ff">while</FONT><FONT COLOR="#000000">(0)
</FONT><FONT COLOR="#0000ff">while </FONT><FONT COLOR="#000000">0 </FONT><FONT COLOR="#800080">{
</FONT><FONT COLOR="#0000ff">q </FONT>3 <FONT COLOR="#008000">; compilation error
</FONT><FONT COLOR="#800080">}</FONT>
- Log in to post comments
.png)