* change to avoid range check error

This commit is contained in:
pierre 2000-03-28 15:25:27 +00:00
parent 1e8a7f6853
commit bc1d0c90f8

View File

@ -1,9 +1,14 @@
type
te = (enum);
te = (enum1,enum2,enum3);
var
e : te;
e,f : te;
begin
e:=enum1;
inc(e);
f:=enum3;
dec(f);
if e<>f then
halt(1);
end.