<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>This is a report of what I believe is a flaw in the "\loop" implementation.<div>The appended&nbsp;source text behaves differently with and without the \null-command.</div><div>Instead of \null, almost any other command can be used.</div><div>The flaw came to my attention when&nbsp;I first used a \showthe for error analysis.</div><div><br></div><div>The used system is OS X 10.5.5.</div><div>The TeX system is TeXShop V2.26 with&nbsp;<font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="background-color: transparent;">&nbsp;XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)</span></font></div><div><div><br></div><div><div><div><div>%!TEX TS-program = xetex</div><div>%!TEX encoding = UTF-8 Unicode</div><div>\parindent=0cm&nbsp;</div><div>% ______________________________________________________</div><div>\openin1=TestObject&nbsp;</div><div>\newcount\more \more=1 % used as boolean, set to "true" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>% -----------------------------------------</div><div>\loop</div><div>\read 1 to \InputLine &nbsp;</div><div>\ifeof1\more=0\fi</div><div>\null % without this command, the loop either does not end or ends immediately&nbsp;</div><div>\number\more</div><div>\ifnum\more=1</div><div>&nbsp;-- \InputLine\ +++ \hfil\break</div><div>\repeat</div><div>% -----------------------------------------</div><div>\closein1</div><div>\bye</div><div><br></div></div></div></div></div></div><br><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>&nbsp;-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- - -- -- -- -- -- -- --</div><div>&nbsp;&nbsp;Dr. Reiner Durchholz</div><div>&nbsp;-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - -- -- -- -- -- -- - -- -- -- -- -- -- --</div><div><div><div><br></div></div></div><div><br></div><br><br></div></div></span> </div><br></body></html>