blob: 5707e44e36bffbfe3a3daedba1fb86793472ed21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ Old file: tbs0120.pp }
{ inc/dec(enumeration) doesn't work OK 0.99.6 (MVC) }
type
te = (enum1,enum2,enum3);
var
e,f : te;
begin
e:=enum1;
inc(e);
f:=enum3;
dec(f);
if e<>f then
halt(1);
end.
|