tb0040.pp 355 B

1234567891011121314151617
  1. { %FAIL }
  2. { Old file: tbf0197.pp }
  3. { should produce an error: problem with c1:=c2<c3 where c? is OK 0.99.11 (PM) a comp type }
  4. var i : DWord;
  5. c1, c2 : comp;
  6. begin
  7. c1 := 20000; c2 := 100;
  8. i := 0;
  9. repeat
  10. inc(i);
  11. c1 := (abs(3*c1)-c2) < c2; { notice this !!! :) :) }
  12. until (i > 1000);
  13. Writeln(c1);
  14. end.