Hi Szilveszter,<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I also checked out the source code and made a change which made this loop work:<br>
at chuck_dev\v2\chuck_type.cpp:873:<br>
<br>
I enclosed the switch() block in a conditional:<br>
<br>
if (stmt->c2) { ... }<br>
<br>
Now it seems to work.<br>
<br></blockquote><div><br>First; great job on fixing this crash, that's the spirit!<br><br>I do have a question though. It seems that you are implying here that a empty condition now evaluates to true (or at least not false). Assuming we adopt this fix; would this now be true in the general case, or just for "for" loops? Are there precedents on empty conditions evaluating to true? Just curious; crash prevention is the main thing here, I don't see much practical use in empty "for" loops anyway, because "while(1)" is just as one character more than "for(;;)" and a lot more readable. <br>
</div></div><br>Yours,<br>Kas.<br>