mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 17:49:33 +02:00
14 lines
246 B
ObjectPascal
14 lines
246 B
ObjectPascal
var
|
|
r1,r2 : extended;
|
|
code : integer;
|
|
begin
|
|
val('.',r1,code);
|
|
if r1<>0.0 then
|
|
writeln('error with val(".")');
|
|
val('.E',r2,code);
|
|
if r2<>0.0 then
|
|
writeln('error with val(".E")');
|
|
if (r1<>0.0) or (r2<>0.0) then
|
|
halt(1);
|
|
end.
|