const C = -2; M2 = -2; begin // Works. {$if C <> M2} {$error C <> M2} {$endif} // Error: Evaluating a conditional compiling expression // Error: Incompatible types: got "" expected "Int64" // Error: Incompatible types: got "ShortInt" expected "" // Error: Compile time expression: Wanted Boolean but got at IF or ELSEIF {$if C <> -2} {$error C <> -2} {$endif} {$if C <> - 2} {$error C <> - 2} {$endif} {$if C <> -2.0} {$error C <> -2.0} {$endif} {$if C <> - 2.0} {$error C <> - 2.0} {$endif} end.