Hi,

i tried to reproduce your problem with fpc-1.9.8 and this small program:

program subrange;
var lkey : 1..15;
begin
  lkey := 6;
  case lkey of
    6:writeln('6');
    7:writeln('7');
  end;
end.

--> prints '6' as it should, and not '7'

Is this testcase ok?

Regards kisda

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to