I'm getting this error., expected ';' before '}' token

larryd:
What are you doing here?

if (Serial.print("a"))

I was trying to output the same message to max as well, using serial communication.

yes, it should be correct.