In fact, I think you can remove the % and it still blows - a pause and then Bus error here.
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