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




_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to