Hello folks! Michael Schnell wrote 2014-12-15 09:28:05: > But the silly C programmer did "if (a == TRUE)".
I have seen this kind of nonsense way too often, even in Pascal code. May I sincerely ask to include a hint/warning feature such as "Comparing booleans - bad style" in order to notify the programmer to think twice. This warning should be also active when using booleans as case expression. Best regards Jasper _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel