In fact, I think you can remove the % and it still blows - a pause and then Bus error here.

/Stefan

On Sun, Feb 8, 2009 at 3:38 AM, Kassen <signal.automatique@gmail.com> wrote:
Get it while it's hot!

int count;

3 %=> count++;
//or
3 %=> ++count;

Whether such constructions should be used at all is of course
debatable and we do have this;

++count%3 => count;

....which does work but the above examples shouldn't lead to
VM-collapses, which they do.

Yours,
Kas.
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



--
Release me, insect, or I will destroy the Cosmos!