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