blob: 75263ae1e1638bdc1c3da079bd0e0ed1d68dfff2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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.
|