tw4100.pp 454 B

123456789101112131415161718192021222324
  1. { %OPT=-CE }
  2. { %result=217 }
  3. { Source provided for Free Pascal Bug Report 4100 }
  4. { Submitted by "Markus Roberts" on 2005-06-20 }
  5. { e-mail: [email protected] }
  6. {$ifdef unix}
  7. {$linklib c}
  8. {$endif}
  9. uses SysUtils;
  10. var
  11. X,Y,Z : Extended;
  12. I : integer;
  13. begin
  14. X := 0.0;
  15. Y := 1.0;
  16. Z := Y/X;
  17. I := 7;
  18. writeln('test');
  19. writeln(StrToFloat('1e7'));
  20. writeln(Z);
  21. end.