Originally Posted by georgik57
Are you sure? I remember having issues because of a situation like this.
Yup, try it. Parenthesis are not required for a condition to be treated as a condition, the compiler is smart enough to know. If you have multiple conditions and need to group some together, then parenthesis are required. I usually will use parenthesis regardless because I think it's cleaner and helps with readability.
new szTest[ 2 ];
server_print( "Did this %s" , szTest[ 0 ] == EOS ? "work" : "not work" );
Output: "Did this work"
because szTest[ 0 ] == EOS is true. EOS equals 0 so if your thought was correct, it would have said 'not work'.