Mike;<br><br><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;"><div class="Ih2E3d">&gt; WWJD? (What Would Java Do?)<br>

<br>
</div>Oh boy...<br>
</blockquote><div><br>Admittedly that could have been seen as being in moderately bad taste but sometimes such things are too good to pass up on for me.... ;¬)<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
This is what we&#39;re trying to do, right?<br>
<br>
int count;<br>
3 % (++count) =&gt; count;<br>
</blockquote><div><br><br>Basically what I&#39;m trying to do is this;<br>//let&#39;s march;<br>++step%4 =&gt; step;<br></div><div><br>to generate; 0,1,2,3,0,1,2,3,0,1,2..... <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
This makes sense.</blockquote><div><br>To me constructs like that are quite essential in -for example- generating a clock with a counter for a repeating beat, yes.<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 &nbsp;Of course, the answer to the question WWJD is<br>
really &quot;throw an error telling us why it makes no sense&quot; rather &quot;crash<br>
outright.&quot; &nbsp;;-)<br>
<br>
But that&#39;s why we love this list.<br>
</blockquote><div><br>Java just has more people testing it (at least right now, clearly this must be remidied in time).<br><br>Yours,<br>Kas.<br></div></div><br>