Right. This works, tested. True is not false.
void setup()
{
Serial.begin( 115200 );
static byte x = 7;
Serial.print( x );
Serial.print( " " );
if ( x != false ) Serial.println( "true" );
else Serial.println( "false" );
x = !x;
Serial.print( x );
Serial.print( " " );
if ( x != false ) Serial.println( "true" );
else Serial.println( "false" );
}
void loop() {
// put your main code here, to run repeatedly:
}