I'm just wondering why the following code fails with "Illegal operation on this datatype" and "Expression must be of boolean type" errors. I understand what the errors mean. I'm more so wondering why the VM isn't smart enough to be able to evaluate zero as false and non-zero as true? Unless I'm missing something?
int test = 0; if(!test) test = 1;