[fpc-devel] VAL behavior

Dariusz Mazur darekm at emadar.com
Tue Mar 23 19:50:42 CET 2010


Hi
   I found different behavior of VAL function under Delphi and FPC

var
   i,io : integer

begin
   val('9 ',ii,io);
   writeln(ii);
   writeln(io);
end;


Delphi set ii to 9, FPC set 0 (io is equal 2)
is this bug?

-- 
   Darek







More information about the fpc-devel mailing list