<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Oct 24, 2007, at 5:44 AM, Lou Iorio wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">This is a use of the term "commented out" with which I am not familiar.  :-)<DIV><BR class="khtml-block-placeholder"></DIV><DIV>After a little experimentation, I see that &lt;?informalexample&gt; and &lt;?example&gt; "pseudo" processing instructions</DIV><DIV>are both ignored, so removing them has no effect on the output html.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>That's what John and I were *trying* to say. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[...snip...]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><DIV>can be replaced with this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">example </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">role</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"live-example"</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">   </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">title</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">Logging to the debugger</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;/</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">title</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">   </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">programlisting </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">language</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"lzx"</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">   </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">textobject</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;&lt;</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">textdata </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">fileref</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"programs/debugging-$4.lzx"</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">/&gt;&lt;/</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">textobject</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> </SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">   </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;/</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">programlisting</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;/</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">example</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&gt;</SPAN></FONT></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>Indeed! </DIV><DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">I propose we remove these processing instructions. If nothing else, surely it</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">will speed up the build and reduce confusion. I know I was confused. As John</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">says, let's discuss.</SPAN></FONT></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>Yes! Do it! Whenever you touch a file, feel free to remove these "commented out" example code. </DIV><DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">As to making the parser ignore stuff in the xml document, how about plain old</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">comments? It's easy to grep for these, and we could use something simple, like:</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;!-- TODO: add example. IORIO 24 oct 2007 --&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;!-- IGNORE: no longer used </SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">    stuff to ignore</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">IORIO 24 oct 2007 </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">--&gt;</SPAN></FONT></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>The tricky thing is making it ignore tags that contain comments:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you've got</DIV><DIV>&lt;button&gt;Nice&lt;/button&gt; &lt;!-- this button's label is "Nice" --&gt;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>...then you can't comment it out with </DIV><DIV>&lt;!-- IGNORE </DIV><DIV>&lt;button&gt;Nice&lt;/button&gt; &lt;!-- this button's label is "Nice" --&gt;</DIV><DIV>bshine 24 oct 2007 --&gt;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>because the parser will try to close the comment after Nice"--&gt; </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>That's why we sometimes use &lt;?ignore   ?&gt; to comment out</DIV><DIV>lzx code as we're developing it. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I think the right answer here is... if you have to comment out something </DIV><DIV>that includes comments, either...</DIV><DIV>a) you're wrong, you don't really need to comment it out, you should just</DIV><DIV>delete it and let subversion be your backup...</DIV><DIV>b) comment it out with &lt;!-- --&gt; and remove any spurious close-comments within the comment. </DIV><DIV>c) wrap it in a &lt;switch&gt; &lt;when runtime="never"&gt;&lt;/when&gt; &lt;otherwise&gt; &lt;/otherwise&gt;&lt;/switch&gt; (I'm actually not sure if this works, but it seems like a cool idea; the equivalent in C of doing </DIV><DIV>if (false) {</DIV><DIV>... } else {</DIV><DIV>...</DIV><DIV>}</DIV><DIV>which smart compilers deal with at compile time. (Our compiler *is* smart in this way.)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">Lou</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"><DIV><DIV>----------------------------------</DIV><DIV><BR><DIV><DIV>On Oct 24, 2007, at 12:48 AM, Benjamin Shine wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I think John's right; these are escaped with the non-traditional "processing instruction of</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;?informalexample</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">?informalexample&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Style-wise, that's not such a good way to comment things out in xml. Our occasional hack of saying</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;?ignore <SPAN class="Apple-converted-space">    </SPAN>&lt;tags&gt;&lt;we&gt;&lt;regret&gt; ?&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">is really a malapropism of the &lt;? ?&gt; syntax, which is used to indicate a processing instruction. We're effectively saying application, please process the stuff between these &lt;? ?&gt; tags by ignoring it. Kind of goofy.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.w3.org/TR/xml/#sec-pi">http://www.w3.org/TR/xml/#sec-pi</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">But, I don't have a better suggestion for making the parser ignore stuff inside an xml document. I suspect Tucker has an opinion!</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Oct 23, 2007, at 8:14 PM, Lou Iorio wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Actually, the escaped examples are not commented out (see the example in</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">my original email, below); it looks like they're just ignored by the build.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Lou</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Oct 23, 2007, at 10:51 PM, John Sundman wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Under the old doctools regime, the example code was embedded in the doc files; in the new regime the examples are pulled out as separate lzx files.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Being paranoid, when I converted files to the new syntax, I just commented out the examples rather than deleting them.<SPAN class="Apple-converted-space">  </SPAN>So, there are lots of places where examples still remain in the source, but are commented out and thus invisible.<SPAN class="Apple-converted-space">  </SPAN>It's dead text.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">We should probably go ahead and delete the commented-out code now.<SPAN class="Apple-converted-space">  </SPAN>Let's discuss (but not tonight, it's late).</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">jrs</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On Oct 23, 2007, at 12:40 PM, Lou Iorio wrote:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">What is the purpose of the escaped code in live examples?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">In the debug chapter (example 50.2) we have this:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;&lt;example role="live-example"&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;title&gt;Runtime exceptions printed once per line&lt;/title&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;programlisting language="lzx"&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;textobject&gt;&lt;textdata fileref="programs/debugging-$3.lzx"/&gt;&lt;/textobject&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;/programlisting&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;/example&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;?informalexample role="live-example"&gt;&lt;programlisting role="lzx-embednew"&gt;&lt;filename&gt;debugging-$3.lzx&lt;/filename&gt;&lt;parameter/&gt;&lt;code&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&amp;lt;canvas debug="true" height="150"&amp;gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>&amp;lt;handler name="oninit"&amp;gt;&amp;lt;![CDATA[</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">    </SPAN>for (var i = 0; i &amp;gt; 10; i ++) {</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">      </SPAN>canvas.width();</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">    </SPAN>}</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>]]&amp;gt;&amp;lt;/handler&amp;gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&amp;lt;/canvas&amp;gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;/code&gt;&lt;/programlisting&gt;&lt;programlisting&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&amp;lt;canvas debug="true" height="150"&amp;gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>&amp;lt;handler name="oninit"&amp;gt;&amp;lt;![CDATA[</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">    </SPAN>for (var i = 0; i &amp;gt; 10; i ++) {</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">      </SPAN>canvas.width();</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">    </SPAN>}</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">  </SPAN>]]&amp;gt;&amp;lt;/handler&amp;gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&amp;lt;/canvas&amp;gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;/programlisting&gt;&lt;?lzx-edit programs/debugging-$3.lzx&gt;&lt;/informalexample?&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">As far as I can tell, this does exactly the same thing:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;example role="live-example"&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;title&gt;Runtime exceptions printed once per line&lt;/title&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;programlisting language="lzx"&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;textobject&gt;&lt;textdata fileref="programs/debugging-$3.lzx"/&gt;&lt;/textobject&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>&lt;/programlisting&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;/example&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;?informalexample role="live-example"&gt;&lt;programlisting role="lzx-embednew"&gt;&lt;filename&gt;debugging-$3.lzx&lt;/filename&gt;&lt;parameter/&gt;&lt;code&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&lt;/programlisting&gt;&lt;?lzx-edit programs/debugging-$3.lzx&gt;&lt;/informalexample?&gt;</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>