tb0313.pp 171 B

12345678910111213
  1. uses ub0313;
  2. var
  3. arec : rec;
  4. begin
  5. arec.nrs:=one;
  6. if arec.nrs<>one then
  7. begin
  8. Writeln('Error with enums inside objects');
  9. Halt(1);
  10. end;
  11. end.