Hello,
Consider this code:
{$APPTYPE CONSOLE}
program _ComparisonOperators;
var
ADword, AnotherDword : DWORD;
begin
ADword := $48;
AnotherDword := $BC;
if ADword >- AnotherDword then
begin
writeln(ADword, ' is >- ', AnotherDword, ' (whatever that means!)');
end;
readln;
end.
Note the likely invalid comparison operator in use ">-", yet the compiler doesn't complain. Running the program shows the comparison is TRUE.
Comments welcome.
ETA:As correctly pointed out by GAN below, there is no bug. The compiler "sees" >- as "greater than minus (whatever follows)" which is correct.